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)

Syntax

'Declaration
Public ReadOnly Property Versions As SPFileVersionCollection
    Get
'Usage
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

Reference

SPFile class

SPFile members

Microsoft.SharePoint namespace