InsertAfter()

XPathNavigator::InsertAfter() method

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

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

Return Value

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

XPathNavigator::InsertAfter(String) method

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

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

Arguments

ParameterTypeDescription
newSiblingStringThe XML data string for the new sibling node.

XPathNavigator::InsertAfter(SharedPtr<XmlReader>) method

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

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

Arguments

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

XPathNavigator::InsertAfter(SharedPtr<XPathNavigator>) method

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

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

Arguments

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

See Also