This document is archived and information here might be outdated.  Recommended version.


IGxObjectContainer.AddChild Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Catalog)  

IGxObjectContainer.AddChild Method

Adds a new child and returns a reference to it. However, if a duplicate already exists, the function returns the existing child instead.

[Visual Basic .NET]
Public Function AddChild ( _
    ByVal child As IGxObject _
) As IGxObject
[C#]
public IGxObject AddChild (
    IGxObject child
);

Product Availability

Available with ArcGIS Desktop.

See Also

IGxObjectContainer Interface