SPWeb.Lists Property

Gets the collection of all lists that are contained in the website.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

[ClientCallableAttribute]
public SPListCollection Lists { get; }

Property Value

Type: Microsoft.SharePoint.SPListCollection
A collection of SPList objects.

If you are interested only in lists of a specific type, call the GetListsOfType(SPBaseType) method instead.

Show: