共用方式為


SPFileVersionCollection.RestoreByLabel method

還原檔案版本物件具有指定的版本標籤。

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

Syntax

'宣告
Public Sub RestoreByLabel ( _
    versionlabel As String _
)
'用途
Dim instance As SPFileVersionCollection
Dim versionlabel As String

instance.RestoreByLabel(versionlabel)
public void RestoreByLabel(
    string versionlabel
)

參數

請參閱

參照

SPFileVersionCollection class

SPFileVersionCollection members

Microsoft.SharePoint namespace