Share via


ClientContext.Web property

Gets the website that is associated with the client context.

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

Syntax

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

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

Property value

Type: Microsoft.SharePoint.Client.Web
The website associated with the client context.

See also

Reference

ClientContext class

ClientContext members

Microsoft.SharePoint.Client namespace