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
| Parameter | Type | Description |
|---|---|---|
| lastSiblingToDelete | SharedPtr<XPathNavigator> | An XPathNavigator positioned on the last sibling node in the range to delete. |
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
- Typedef SharedPtr
- Class XPathNavigator
- Namespace System::Xml::XPath
- Library Aspose.Slides