Share via


ClientContext.Web Property

Gets the Web site that is associated with the client context.

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
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 Web site associated with the client context.

See Also

Reference

ClientContext Class

ClientContext Members

Microsoft.SharePoint.Client Namespace