ReplaceChild

Node.ReplaceChild method

Replaces the child node old child with new child in the list of children, and returns the old child node.

public Node ReplaceChild(Node node, Node child)
ParameterTypeDescription
nodeNodeThe new node.
childNodeThe old child.

See Also