Removes the current node (and its entire subtree).
[Visual Basic] Overloads MustOverride Public Sub Remove() [C#] public abstract void Remove(); [C++] public: virtual void Remove() = 0; [JScript] public abstract function Remove();
After this method is called, the parent pointer is disconnected (so MoveToParent will return false) and the parent's ChildCount will be decremented by 1.
This XmlNavigator then stays pointing at this removed node.
If this node has already been removed and has no parent, this method has no effect.
XmlNavigator Class | XmlNavigator Members | System.NewXml Namespace | XmlNavigator.Remove Overload List