ClientObjectCollection.AddChild Method
Adds a client object to the end of the ClientObjectCollection.
Namespace: Microsoft.SharePoint.Client
Assemblies: Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll); 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, the capacity of the ClientObjectCollection is increased by automatically reallocating the internal array.