GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoGroup Class / AddChildName Method
must not be an empty string or the name of an existing child
must be an immediate child of this group and must not already be known by a name
In This Topic
    AddChildName Method
    In This Topic
    Add an association of a string name with a child object.
    Syntax
    public virtual void AddChildName( 
       string name,
       GoObject child
    )

    Parameters

    name
    must not be an empty string or the name of an existing child
    child
    must be an immediate child of this group and must not already be known by a name
    Remarks
    If successful, this will create the ChildNames hash table if needed, and add two entries: one to map the name to the object and another to map the object to the name.
    See Also