Partilhar via


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

Remarks

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

See Also

Reference

ClientObjectCollection Class

ClientObjectCollection Members

Microsoft.SharePoint.Client Namespace