ClientRuntimeContext.LoadQuery Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
LoadQuery<T>(IQueryable<T>) | |
LoadQuery<T>(ClientObjectCollection<T>) |
LoadQuery<T>(IQueryable<T>)
public System.Collections.Generic.IEnumerable<T> LoadQuery<T> (System.Linq.IQueryable<T> clientObjects) where T : Microsoft.SharePoint.Client.ClientObject;
member this.LoadQuery : System.Linq.IQueryable<'T (requires 'T :> Microsoft.SharePoint.Client.ClientObject)> -> seq<'T (requires 'T :> Microsoft.SharePoint.Client.ClientObject)> (requires 'T :> Microsoft.SharePoint.Client.ClientObject)
Public Function LoadQuery(Of T As ClientObject) (clientObjects As IQueryable(Of T)) As IEnumerable(Of T)
Type Parameters
- T
Parameters
- clientObjects
- IQueryable<T>
Returns
IEnumerable<T>
Applies to
LoadQuery<T>(ClientObjectCollection<T>)
public System.Collections.Generic.IEnumerable<T> LoadQuery<T> (Microsoft.SharePoint.Client.ClientObjectCollection<T> clientObjects) where T : Microsoft.SharePoint.Client.ClientObject;
member this.LoadQuery : Microsoft.SharePoint.Client.ClientObjectCollection<'T (requires 'T :> Microsoft.SharePoint.Client.ClientObject)> -> seq<'T (requires 'T :> Microsoft.SharePoint.Client.ClientObject)> (requires 'T :> Microsoft.SharePoint.Client.ClientObject)
Public Function LoadQuery(Of T As ClientObject) (clientObjects As ClientObjectCollection(Of T)) As IEnumerable(Of T)
Type Parameters
- T
Parameters
- clientObjects
- ClientObjectCollection<T>
Returns
IEnumerable<T>