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
obj
Type: Microsoft.SharePoint.Client.ClientObjectThe client object to be added to the end of the ClientObjectCollection.
Remarks
If Count already equals the capacity of the ClientObjectCollection, then the capacity of the ClientObjectCollection is increased by automatically reallocating the internal array.