Partager via


SPWeb.Lists Property

Gets the collection of all lists that are contained in the Web site.

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

Syntax

Public ReadOnly Property Lists As SPListCollection
    Get

Dim instance As SPWeb
Dim value As SPListCollection

value = instance.Lists
public SPListCollection Lists { get; }

Property Value

Type: Microsoft.SharePoint.SPListCollection
An SPListCollection object that represents the lists.

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace