共用方式為


ClientObject.Context 屬性

傳回與用戶端物件相關聯的內容。

命名空間:  Microsoft.SharePoint.Client
組件:   Microsoft.SharePoint.Client.Silverlight.Runtime (在 Microsoft.SharePoint.Client.Silverlight.Runtime.dll 中);  Microsoft.SharePoint.Client.Phone.Runtime (在 Microsoft.SharePoint.Client.Phone.Runtime.dll 中)  Microsoft.SharePoint.Client.Runtime (在 Microsoft.SharePoint.Client.Runtime.dll 中)

語法

'宣告
Public ReadOnly Property Context As ClientRuntimeContext
    Get
'用途
Dim instance As ClientObject
Dim value As ClientRuntimeContext

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

屬性值

類型:Microsoft.SharePoint.Client.ClientRuntimeContext
目前的用戶端執行階段內容。

請參閱

參照

ClientObject 類別

ClientObject 成員

Microsoft.SharePoint.Client 命名空間