Share via


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

Public ReadOnly Property Versions As SPListItemVersionCollection
    Get

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