Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the file version object that has the specified version label.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Function GetVersionFromLabel ( _
versionlabel As String _
) As SPFileVersion
'Usage
Dim instance As SPFileVersionCollection
Dim versionlabel As String
Dim returnValue As SPFileVersion
returnValue = instance.GetVersionFromLabel(versionlabel)
public SPFileVersion GetVersionFromLabel(
string versionlabel
)
Parameters
versionlabel
Type: System.StringThe version in the format of the VersionLabel property.
Return Value
Type: Microsoft.SharePoint.SPFileVersion
The file version object that has the specified version label.