开发者

SPListItem returns a different Item.UniqueID for each version

开发者 https://www.devze.com 2023-02-10 23:55 出处:网络
I need a value that is unique even when versioning is turned on in the lib开发者_开发问答rary.Is there a different property I should be calling?The spListItem class has a versions object that contains

I need a value that is unique even when versioning is turned on in the lib开发者_开发问答rary. Is there a different property I should be calling?


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

The Item.UniqueID does uniquely identify each list item. Each version of that listitem is not considered by SharePoint to be separate from the item. So chances are that UniqueID is fine.

0

精彩评论

暂无评论...
验证码 换一张
取 消