ClientRuntimeContext.LoadQuery<T> 方法 (IQueryable<T>)
Retrieves an enumerable sequence of the child client objects from a collection that can be the query expression in LINQ syntax.
命名空间: 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 Function LoadQuery(Of T As ClientObject) ( _
clientObjects As IQueryable(Of T) _
) As IEnumerable(Of T)
用法
Dim instance As ClientRuntimeContext
Dim clientObjects As IQueryable(Of T)
Dim returnValue As IEnumerable(Of T)
returnValue = instance.LoadQuery(clientObjects)
public IEnumerable<T> LoadQuery<T>(
IQueryable<T> clientObjects
)
where T : ClientObject
类型参数
- T
The type of the child client object.
参数
clientObjects
类型:System.Linq.IQueryable<T>The class that implements the IQueryable interface that represents the client objects from a collection.
返回值
类型:System.Collections.Generic.IEnumerable<T>
The enumerable sequence of client objects.
备注
This method retrieves an enumerable sequence of child client objects from a collection; specifically, the collection can be the query expression in LINQ syntax. The retrieved client objects are stored in the return value.