loadQuery(clientObjectCollection, exp) Method

SP.ClientRuntimeContext.loadQuery(clientObjectCollection, exp) Method

SharePoint 2010

Last modified: March 24, 2010

Applies to: SharePoint Foundation 2010

In this article
Return Value
Applies To

Retrieves an enumerable sequence of the child client objects from a collection.

var value = SP.ClientRuntimeContext.loadQuery(clientObjectCollection, exp);


Type: SP.ClientObjectCollection


Type: String


The SP.ClientObjectCollection Class object that represents the collection of the client objects.

Type: ArrayList

This method retrieves the enumerable sequence of client objects that are the child objects of a collection; specifically, the user can apply the foreach programming pattern to iterate the sequence. The retrieved client objects are stored in the return value.

© 2015 Microsoft