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 with the specified ID.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Function GetVersionFromID ( _
versionid As Integer _
) As SPFileVersion
'Usage
Dim instance As SPFileVersionCollection
Dim versionid As Integer
Dim returnValue As SPFileVersion
returnValue = instance.GetVersionFromID(versionid)
public SPFileVersion GetVersionFromID(
int versionid
)
Parameters
versionid
Type: System.Int32A 32-bit integer that specifies the file version.
Return Value
Type: Microsoft.SharePoint.SPFileVersion
A Microsoft.SharePoint.SPFileVersion object that represents the file version.