This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Catalog > ESRI.ArcGIS.Catalog > Interfaces > IG > IGxObjectContainer Interface > IGxObjectContainer.AddChild Method (ArcObjects .NET 10.5 SDK) |
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 );