SPListItemVersionCollection.ListItem property

Gets the parent list item of the version collection.

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

Syntax

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

value = instance.ListItem
public SPListItem ListItem { get; }

Property value

Type: Microsoft.SharePoint.SPListItem
An SPListItem object that represents the parent list item.

See also

Reference

SPListItemVersionCollection class

SPListItemVersionCollection members

Microsoft.SharePoint namespace