Export (0) Print
Expand All

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.Phone.Runtime (in Microsoft.SharePoint.Client.Phone.Runtime.dll)  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)  Microsoft.SharePoint.Client.Phone.Runtime (in Microsoft.SharePoint.Client.Phone.Runtime.dll)

protected void AddChild(
	ClientObject obj
)

Parameters

obj
Type: Microsoft.SharePoint.Client.ClientObject

The client object to be added to the end of the ClientObjectCollection.

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

Show:
© 2014 Microsoft