Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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
Remarks

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

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

clientObjectCollection

Type: SP.ClientObjectCollection

exp

Type: String

clientObjects

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.

Show:
© 2015 Microsoft