List.ParentWeb property

Gets a value that specifies the site that contains the list.

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

Syntax

'Declaration
Public ReadOnly Property ParentWeb As Web
    Get
'Usage
Dim instance As List
Dim value As Web

value = instance.ParentWeb
public Web ParentWeb { get; }

Property value

Type: Microsoft.SharePoint.Client.Web
Returns a Web instance representing the site that contains the list.

See also

Reference

List class

List members

Microsoft.SharePoint.Client namespace