RemoveChild() public méthode

Removes the child node with the specified name.
public RemoveChild ( string name ) : Node
name string Name of the child node
Résultat Node
 protected virtual void ParentChanged(Node oldParent, Node newParent)
 {
     if(oldParent != null) {
         oldParent.RemoveChild(this);
         if (NodeDetachedEvent != null)
             NodeDetachedEvent(this);
     }
     if (newParent != null) {
         newParent.AddChild(this);
         if (NodeAttachedEvent != null)
             NodeAttachedEvent(this);
     }
 }