共用方式為


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
)

參數

傳回值

Type: Microsoft.SharePoint.SPFileVersion
具有指定的版本標籤的檔案版本物件。

請參閱

參照

SPFileVersionCollection class

SPFileVersionCollection members

Microsoft.SharePoint namespace