Extensions.CreateNavigator Method (XNode, XmlNameTable)
Assembly: System.Xml.Linq (in System.Xml.Linq.dll)
public static XPathNavigator CreateNavigator( this XNode node, XmlNameTable nameTable )
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