Share via


SPListItemVersion.VersionId property

Gets the ID of the version.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property VersionId As Integer
    Get
'Usage
Dim instance As SPListItemVersion
Dim value As Integer

value = instance.VersionId
public int VersionId { get; }

Property value

Type: System.Int32
A 32-bit integer that indicates the version ID.

Remarks

The version ID is incremented by 512 for each version that is created from an item. The higher the ID is, the more recent is the version.

See also

Reference

SPListItemVersion class

SPListItemVersion members

Microsoft.SharePoint namespace