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

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