共用方式為


SPListItemVersion.VersionLabel property

取得項目版本的版本號碼。

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

Syntax

'宣告
Public ReadOnly Property VersionLabel As String
    Get
'用途
Dim instance As SPListItemVersion
Dim value As String

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

Property value

Type: System.String
在格式Major_Number.Minor_Number,由一個句點 (.) 分隔字串,其中包含的主要和次要版本號碼。

請參閱

參照

SPListItemVersion class

SPListItemVersion members

Microsoft.SharePoint namespace