Condividi tramite


ClientContext.Current Property

Gets the current client context of the client-side object model (CSOM) runtime.

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

Syntax

'Declaration
Public Shared ReadOnly Property Current As ClientContext
    Get
'Usage
Dim value As ClientContext

value = ClientContext.Current
public static ClientContext Current { get; }

Property Value

Type: Microsoft.SharePoint.Client.ClientContext
The current client context of the CSOM.

Remarks

This property can only be used in the Silverlight and JavaScript client object models.

See Also

Reference

ClientContext Class

ClientContext Members

Microsoft.SharePoint.Client Namespace