SPListCollection.Item property (String)

Gets the list object that has the specified name from the collection.

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

public SPList this[
	string strListName
] { get; }

Parameters

strListName
Type: System.String

A string that contains the name of a list to get.

Property value

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