Condividi tramite


SP.ClientRuntimeContext.loadQuery(clientObjectCollection, exp) Method

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);

Parameters

clientObjectCollection

Type: SP.ClientObjectCollection

exp

Type: String

Return Value

Type: ArrayList

Applies To

SP.ClientRuntimeContext Class

Remarks

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.

See Also

Reference

SP.ClientRuntimeContext Methods

SP.ClientRuntimeContext Properties

SP Namespace