Share via


SPListItem.ParentList property

Gets the list that includes the list item.

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

Syntax

'Declaration
Public ReadOnly Property ParentList As SPList
    Get
'Usage
Dim instance As SPListItem
Dim value As SPList

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

Property value

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

See also

Reference

SPListItem class

SPListItem members

Microsoft.SharePoint namespace