SPFileVersionCollection.RestoreByLabel method

Restores the file version object that has the specified version label.

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

Syntax

'Declaration
Public Sub RestoreByLabel ( _
    versionlabel As String _
)
'Usage
Dim instance As SPFileVersionCollection
Dim versionlabel As String

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

Parameters

See also

Reference

SPFileVersionCollection class

SPFileVersionCollection members

Microsoft.SharePoint namespace