SPListItemCollection.List property

Gets the parent list of the collection.

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

Syntax

'Declaration
Public ReadOnly Property List As SPList
    Get
'Usage
Dim instance As SPListItemCollection
Dim value As SPList

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

Property value

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

See also

Reference

SPListItemCollection class

SPListItemCollection members

Microsoft.SharePoint namespace