Extensions.CreateNavigator Method (XNode, XmlNameTable)
Assembly: System.Xml.Linq (in System.Xml.Linq.dll)
<ExtensionAttribute> Public Shared Function CreateNavigator ( node As XNode, nameTable As XmlNameTable ) As XPathNavigator
Namespace declarations are reported from left to right. In contrast, for XmlDocument namespaces are reported from right to left. This is conformant behavior because namespace declarations are not ordered in the XPath data model.
The method MoveToId is not supported for navigators that are returned by this method.
Available since 3.5
Available since 4.0