GetVersionFromID method

SPFileVersionCollection.GetVersionFromID method

Returns the file version object with the specified ID.

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

public SPFileVersion GetVersionFromID(
	int versionid
)

Parameters

versionid
Type: System.Int32

A 32-bit integer that specifies the file version.

Return value

Type: Microsoft.SharePoint.SPFileVersion
A Microsoft.SharePoint.SPFileVersion object that represents the file version.
Show:
© 2016 Microsoft