SPFileVersion.VersionLabel property
取得字串形式的版本。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property VersionLabel As String
Get
'用途
Dim instance As SPFileVersion
Dim value As String
value = instance.VersionLabel
public string VersionLabel { get; }
Property value
Type: System.String
字串,包含格式n中的版本。n,比方說,3.1。
注意
這個屬性值的格式可能會變更在未來版本的SharePoint Foundation。因此,建議您不撰寫剖析或建構字串,包含這個屬性所指定的 UI 版本標籤格式的程式碼。