InsertBefore()

XPathNavigator::InsertBefore() method

Returns an XmlWriter object used to create a new sibling node before the currently selected node.

virtual SharedPtr<XmlWriter> System::Xml::XPath::XPathNavigator::InsertBefore()

Return Value

An XmlWriter object used to create a new sibling node before the currently selected node.

XPathNavigator::InsertBefore(String) method

Creates a new sibling node before the currently selected node using the XML string specified.

virtual void System::Xml::XPath::XPathNavigator::InsertBefore(String newSibling)

Arguments

ParameterTypeDescription
newSiblingStringThe XML data string for the new sibling node.

XPathNavigator::InsertBefore(SharedPtr<XmlReader>) method

Creates a new sibling node before the currently selected node using the XML contents of the XmlReader object specified.

virtual void System::Xml::XPath::XPathNavigator::InsertBefore(SharedPtr<XmlReader> newSibling)

Arguments

ParameterTypeDescription
newSiblingSharedPtr<XmlReader>An XmlReader object positioned on the XML data for the new sibling node.

XPathNavigator::InsertBefore(SharedPtr<XPathNavigator>) method

Creates a new sibling node before the currently selected node using the nodes in the XPathNavigator specified.

virtual void System::Xml::XPath::XPathNavigator::InsertBefore(SharedPtr<XPathNavigator> newSibling)

Arguments

ParameterTypeDescription
newSiblingSharedPtr<XPathNavigator>An XPathNavigator object positioned on the node to add as the new sibling node.

See Also