ReplaceChild

Node.ReplaceChild method

Remplace l’ancien nœud enfant par le nouvel enfant dans la liste des enfants et renvoie l’ancien nœud enfant.

public Node ReplaceChild(Node node, Node child)
ParamètreTaperLa description
nodeNodeLe nouveau nœud.
childNodeLe vieil enfant.

Voir également