SP.ClientObjectCollection.addChild(obj) Method

Applies to: SharePoint Foundation 2010

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

SP.ClientObjectCollection.addChild(obj);

Parameters

Type: SP.ClientObject

Applies To

SP.ClientObjectCollection Class

Remarks

If SP.ClientObjectCollection.count Property already equals the capacity of the SP.ClientObjectCollection Class, the capacity of the SP.ClientObjectCollection Class is increased by automatically reallocating the internal array.

See Also

Reference

SP.ClientObjectCollection Methods

SP.ClientObjectCollection Properties

SP Namespace