Export (0) Print
Expand All

SPListItemVersionCollection.GetVersionFromLabel method

Returns a version from the collection based on the specified version label.

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

public SPListItemVersion GetVersionFromLabel(
	string versionLabel
)

Parameters

versionLabel
Type: System.String

A string that specifies the version label of the version to return. For information about the format of version labels, see VersionLabel.

Return value

Type: Microsoft.SharePoint.SPListItemVersion
An SPListItemVersion object that represents the version.
Show:
© 2014 Microsoft