XPathNavigator.MoveToFirstNamespace Method ()
Moves the XPathNavigator to first namespace node of the current node.
Assembly: System.Xml (in System.Xml.dll)
The XPathNavigator class returns namespace nodes in reverse document order. Therefore, essentially moves to the last namespace node in the current scope.
When the XPathNavigator is positioned on a namespace node, the methods MoveToNext, MoveToPrevious, and MoveToFirst are not applicable. These methods always return false and do not change the position of the XPathNavigator. Rather, you can call MoveToNextNamespace to move to the next namespace 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.
Available since 1.1
Available since 4.0