Evaluates in which direction the current node of the argument XPathNavigator exists as compared to the current node of this instance.
- nav
- The XPathNavigator that is being compared.
System.Xml.XmlNodeOrder.Unknown if the argument navigator comes from different IXPathNavigable instance; System.Xml.XmlNodeOrder.Same if the navigator is positioned on the same location as this navigator; System.Xml.XmlNodeOrder.Before if this instance positions current node before the current node of the argument navigator; System.Xml.XmlNodeOrder.After if the argument navigator positions current node before the current node of this instance.
If argument navigator was null, then NullReferenceException is thrown.
Namespace: System.Xml.XPath
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0