Compartilhar via


ClientObject.Context Property

Returns the context that is associated with the client object.

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

Syntax

'Declaration
Public ReadOnly Property Context As ClientRuntimeContext
    Get
'Usage
Dim instance As ClientObject
Dim value As ClientRuntimeContext

value = instance.Context
public ClientRuntimeContext Context { get; }

Property Value

Type: Microsoft.SharePoint.Client.ClientRuntimeContext
The current client runtime context.

See Also

Reference

ClientObject Class

ClientObject Members

Microsoft.SharePoint.Client Namespace