DeleteRange()
XPathNavigator::DeleteRange(SharedPtr<XPathNavigator>) method
Deletes a range of sibling nodes from the current node to the node specified.
virtual void System::Xml::XPath::XPathNavigator::DeleteRange(SharedPtr<XPathNavigator> lastSiblingToDelete)
Arguments
Exceptions
| Exception | Description |
|---|
| ArgumentNullException | The XPathNavigator specified is nullptr. |
| NotSupportedException | The XPathNavigator does not support editing. |
| InvalidOperationException | The last node to delete specified is not a valid sibling node of the current node. |
See Also