Returns an System.Xml.XmlWriter object used to create a new sibling node before the currently selected node.
An System.Xml.XmlWriter object used to create a new sibling node before the currently selected node.
The following are important notes to consider when using the XPathNavigator.InsertBefore method.
The new sibling node is not inserted until the System.Xml.XmlWriter.Close method of the System.Xml.XmlWriter object is called.
The XPathNavigator.InsertBefore method is valid only when the System.Xml.XPath.XPathNavigator is positioned on an element, text, processing instruction, or comment node.
The XPathNavigator.InsertBefore method does not affect the position of the System.Xml.XPath.XPathNavigator.