SPFileVersionCollection.GetVersionFromLabel method
傳回具有指定的版本標籤的檔案版本物件。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function GetVersionFromLabel ( _
versionlabel As String _
) As SPFileVersion
'用途
Dim instance As SPFileVersionCollection
Dim versionlabel As String
Dim returnValue As SPFileVersion
returnValue = instance.GetVersionFromLabel(versionlabel)
public SPFileVersion GetVersionFromLabel(
string versionlabel
)
參數
versionlabel
Type: System.StringVersionLabel屬性的格式中的版本。
傳回值
Type: Microsoft.SharePoint.SPFileVersion
具有指定的版本標籤的檔案版本物件。