ReplaceSelf()

XPathNavigator::ReplaceSelf(String) method

Replaces the current node with the content of the string specified.

virtual void System::Xml::XPath::XPathNavigator::ReplaceSelf(String newNode)

Arguments

ParameterTypeDescription
newNodeStringThe XML data string for the new node.

XPathNavigator::ReplaceSelf(SharedPtr<XmlReader>) method

Replaces the current node with the contents of the XmlReader object specified.

virtual void System::Xml::XPath::XPathNavigator::ReplaceSelf(SharedPtr<XmlReader> newNode)

Arguments

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

XPathNavigator::ReplaceSelf(SharedPtr<XPathNavigator>) method

Replaces the current node with the contents of the XPathNavigator object specified.

virtual void System::Xml::XPath::XPathNavigator::ReplaceSelf(SharedPtr<XPathNavigator> newNode)

Arguments

ParameterTypeDescription
newNodeSharedPtr<XPathNavigator>An XPathNavigator object positioned on the new node.

See Also