SPListItem.Versions property

Gets the collection of item version objects that represent the versions of the item.

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

Syntax

'Declaration
Public ReadOnly Property Versions As SPListItemVersionCollection
    Get
'Usage
Dim instance As SPListItem
Dim value As SPListItemVersionCollection

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

Property value

Type: Microsoft.SharePoint.SPListItemVersionCollection
An SPListItemVersionCollection object that represents the item versions.

See also

Reference

SPListItem class

SPListItem members

Microsoft.SharePoint namespace