ClientObjectCollection.AddChild method

Adds a client object to the end of the ClientObjectCollection.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Protected Sub AddChild ( _
    obj As ClientObject _
)
'Usage
Dim obj As ClientObject

Me.AddChild(obj)
protected void AddChild(
    ClientObject obj
)

Parameters

Remarks

If Count already equals the capacity of the ClientObjectCollection, then the capacity of the ClientObjectCollection is increased by automatically reallocating the internal array.

See also

Reference

ClientObjectCollection class

ClientObjectCollection members

Microsoft.SharePoint.Client namespace