Share via


SPListItem.ListItems property

Gets the parent collection of list item objects to which the item belongs.

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

Syntax

'Declaration
Public ReadOnly Property ListItems As SPListItemCollection
    Get
'Usage
Dim instance As SPListItem
Dim value As SPListItemCollection

value = instance.ListItems
public SPListItemCollection ListItems { get; }

Property value

Type: Microsoft.SharePoint.SPListItemCollection
An SPListItemCollection object that represents the collection of list items.

See also

Reference

SPListItem class

SPListItem members

Microsoft.SharePoint namespace