SP.ClientObjectCollection Methods

Applies to: SharePoint Foundation 2010

The following table lists the methods of the SP.ClientObjectCollection class.

Methods

Name

Description

addChild

Adds a client object to the end of the SP.ClientObjectCollection Class.

ClientObjectCollection

Initializes a new instance of the SP.ClientObjectCollection Class class with the specified client runtime context and object path.

fromJson

This member is reserved for internal use and is not intended to be used directly from your code.

getEnumerator

Returns an enumerator that iterates through the SP.ClientObjectCollection Class.

getItemAtIndex

Gets the element at the specified index of the SP.ClientObjectCollection Class.

removeChild

Removes the specific client object from the SP.ClientObjectCollection Class.

retrieveItems

Gets the data for all of the items in the collection.

Applies To

SP.ClientObjectCollection Class

See Also

Reference

SP.ClientObjectCollection Properties

SP Namespace