MoveToNamespace()

XPathNavigator::MoveToNamespace(String) method

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

virtual bool System::Xml::XPath::XPathNavigator::MoveToNamespace(String name)

Arguments

ParameterTypeDescription
nameStringThe namespace prefix of the namespace node.

Return Value

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