Expand Minimize
0 out of 1 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)
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 Additions

ADD
© 2013 Microsoft. All rights reserved.