Share via


SPListItemVersion.VersionLabel Property

Gets the version number of the item 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 VersionLabel As String
    Get
'Usage
Dim instance As SPListItemVersion
Dim value As String

value = instance.VersionLabel
public string VersionLabel { get; }

Property Value

Type: System.String
A string that contains the major and minor version numbers separated by a period (.) in the format Major_Number.Minor_Number.

See Also

Reference

SPListItemVersion Class

SPListItemVersion Members

Microsoft.SharePoint Namespace