Share via


SPListItemVersion.VersionId Property

Gets the ID of the version.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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