Share via


List.ParentWeb Property

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

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 ParentWeb As Web
    Get
'Usage
Dim instance As List
Dim value As Web

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