다음을 통해 공유


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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