ListItem.ParentList property

Gets the parent list that contains the list item.

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

Syntax

'Declaration
Public ReadOnly Property ParentList As List
    Get
'Usage
Dim instance As ListItem
Dim value As List

value = instance.ParentList
public List ParentList { get; }

Property value

Type: Microsoft.SharePoint.Client.List
Returns a List.instance representing the parent list that contains the list item.

Remarks

It must not be a null reference (Nothing in Visual Basic).

See also

Reference

ListItem class

ListItem members

Microsoft.SharePoint.Client namespace