0 out of 2 rated this helpful - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ