CompositeNode1.InsertChild

CompositeNode<T>.InsertChild<T1> method

Inserts the node to the specified position in the list of child nodes for this node.

public virtual T1 InsertChild<T1>(int i, T1 newChild)
    where T1 : T
ParameterDescription
T1The exact type of inserted node.
iPosition to insert
newChildThe node to insert.

Return Value

The added node.

See Also