ClientRuntimeContext.Load<T> 方法

命名空间:  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 Sub Load(Of T As ClientObject) ( _
    clientObject As T, _
    ParamArray retrievals As Expression(Of Func(Of T, Object))() _
)
用法
Dim instance As ClientRuntimeContext
Dim clientObject As T
Dim retrievals As Expression(Of Func(Of T, Object))()

instance.Load(clientObject, retrievals)
public void Load<T>(
    T clientObject,
    params Expression<Func<T, Object>>[] retrievals
)
where T : ClientObject

类型参数

  • T

参数

  • clientObject
    类型:T
  • retrievals
    类型:[]

另请参阅

引用

ClientRuntimeContext 类

ClientRuntimeContext 成员

Microsoft.SharePoint.Client 命名空间