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)
Parameter Type Description
node Node The new node.
child Node The old child.

See Also