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
類型:[]