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)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.