System::Xml::XPath::XPathNavigator::MoveToNamespace method

XPathNavigator::MoveToNamespace method

Moves the XPathNavigator to the namespace node with the specified namespace prefix.

virtual bool System::Xml::XPath::XPathNavigator::MoveToNamespace(String name)
ParameterTypeDescription
nameStringThe namespace prefix of the namespace node.

ReturnValue

true if the XPathNavigator is successful moving to the specified namespace; false if a matching namespace node was not found, or if the XPathNavigator is not positioned on an element node. If false, the position of the XPathNavigator is unchanged.

See Also