DeleteSelf()

XPathNavigator::DeleteSelf() method

Deletes the current node and its child nodes.

virtual void System::Xml::XPath::XPathNavigator::DeleteSelf()

Exceptions

ExceptionDescription
InvalidOperationExceptionThe XPathNavigator is positioned on a node that cannot be deleted such as the root node or a namespace node.
NotSupportedExceptionThe XPathNavigator does not support editing.

See Also