Share via


Web.Lists property

Gets the collection of all lists that are contained in the website available to the current user based on the current user’s permissions.

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

Syntax

'Declaration
Public ReadOnly Property Lists As ListCollection
    Get
'Usage
Dim instance As Web
Dim value As ListCollection

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

Property value

Type: Microsoft.SharePoint.Client.ListCollection
A ListCollection object that represents the lists.

See also

Reference

Web class

Web members

Microsoft.SharePoint.Client namespace