SPListItem returns a different Item.UniqueID for each version

I need a unique value, even if version control is enabled in the library. Is there any other property that I should name?

+3
source share
1 answer

The spListItem class has a version object that contains all versions of the object. Each SPListItemVersion has a VersionID property.

Item.UniqueID uniquely identifies each item in the list. Each version of this list is not considered by SharePoint separately from the item. So the chances are that UniqueID is in order.

+4
source

Source: https://habr.com/ru/post/1792089/


All Articles