Compartilhar via


Web.Lists Property

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

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property Lists As ListCollection
    Get
'Usage
Dim instance As Web
Dim value As ListCollection

value = instance.Lists
[RemoteAttribute]
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