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)


Public ReadOnly Property Versions As SPListItemVersionCollection
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


SPListItem class

SPListItem members

Microsoft.SharePoint namespace