Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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


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.
© 2015 Microsoft