SPFile.Versions Property

Gets a collection of file version objects that represent the versions of the file.

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


Public ReadOnly Property Versions As SPFileVersionCollection

Dim instance As SPFile
Dim value As SPFileVersionCollection

value = instance.Versions
public SPFileVersionCollection Versions { get; }

Property Value

Type: Microsoft.SharePoint.SPFileVersionCollection
An SPFileVersionCollection object that represents the file versions.

See Also


SPFile Class

SPFile Members

Microsoft.SharePoint Namespace