共用方式為


RequestUserContext.GetCurrent 方法

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

語法

'宣告
Public Shared Function GetCurrent ( _
    Context As ClientRuntimeContext _
) As RequestUserContext
'用途
Dim Context As ClientRuntimeContext
Dim returnValue As RequestUserContext

returnValue = RequestUserContext.GetCurrent(Context)
public static RequestUserContext GetCurrent(
    ClientRuntimeContext Context
)

參數

傳回值

類型:Microsoft.SharePoint.Client.RequestUserContext

請參閱

參照

RequestUserContext 類別

RequestUserContext 成員

Microsoft.SharePoint.Client 命名空間