SPFile.Versions property
SharePoint 2013
Gets a collection of file version objects that represent the versions of the file.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotNull)] [ClientCallableAttribute] public SPFileVersionCollection Versions { get; }
Property value
Type: Microsoft.SharePoint.SPFileVersionCollectionAn SPFileVersionCollection object that represents the file versions.