Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPContext.ListItemVersion property

Gets a UInt32 object that represents version number specified by the context.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public SPListItemVersion ListItemVersion { get; }

Property value

Type: Microsoft.SharePoint.SPListItemVersion
A UInt32 that specifies the version.

The GetVersionFromID(Int32) method of the SPListItemVersionCollection returns the file version object with the specified ID.

The version number must be greater than zero.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.