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