Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ClientRuntimeContext.LoadQuery<T> method (IQueryable<T>)

Retrieves an enumerable sequence of the child client objects from a collection that can be the query expression in LINQ syntax.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  Microsoft.SharePoint.Client.Phone.Runtime (in Microsoft.SharePoint.Client.Phone.Runtime.dll)  Microsoft.SharePoint.Client.Phone.Runtime (in Microsoft.SharePoint.Client.Phone.Runtime.dll)  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)
public IEnumerable<T> LoadQuery<T>(
	IQueryable<T> clientObjects
where T : ClientObject

Type parameters


The type of the child client object.


Type: System.Linq.IQueryable<T>

The class that implements the IQueryable interface that represents the client objects from a collection.

Return value

Type: 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.