When overridden in a derived class, moves the System.Xml.XPath.XPathNavigator to the next namespace node matching the System.Xml.XPath.XPathNamespaceScope specified.
- namespaceScope
- An System.Xml.XPath.XPathNamespaceScope value describing the namespace scope.
Returns true if the System.Xml.XPath.XPathNavigator is successful moving to the next namespace node; otherwise, false. If false, the position of the System.Xml.XPath.XPathNavigator is unchanged.
The System.Xml.XPath.XPathNavigator class returns namespace nodes in reverse document order.
If the System.Xml.XPath.XPathNavigator is not currently positioned on a namespace node, this method returns false and the position of the System.Xml.XPath.XPathNavigator does not change.
When the System.Xml.XPath.XPathNavigator is positioned on a namespace node, the methods XPathNavigator.MoveToNext, XPathNavigator.MoveToPrevious, and XPathNavigator.MoveToFirst are not applicable. These methods always return false and do not change the position of the System.Xml.XPath.XPathNavigator.
After the System.Xml.XPath.XPathNavigator is positioned on an namespace node, call XPathNavigator.MoveToParent to move back to the element node.
For a definition of namespace nodes, see section 5.4 of the W3C XML Path Language (XPath) recommendation located at http://www.w3.org/TR/xpath#data-model.