Assembly: System.Xml (in System.Xml.dll)
'Declaration Public Overridable Function ComparePosition ( _ nav As XPathNavigator _ ) As XmlNodeOrder
The following table describes the XmlNodeOrder enumeration.
The two XPathNavigator objects are positioned on the same node.
The node positions cannot be determined relative to each other in the document order, or Nothing is specified as the XPathNavigator parameter. This could occur if the two nodes reside in different trees.
Element nodes: These nodes are returned in document order from the source document.
For more information about the XPath data model and details about each of the node types, see section 5 of the W3C XML Path Language (XPath) recommendation located at http://www.w3.org/TR/xpath#data-model.
This method has no effect on the state of the XPathNavigator.
Use the IsSamePosition method rather than the method when possible.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.