XPathNavigator.ComparePosition Method

Compares the position of the current XPathNavigator with the position of the XPathNavigator specified.

Namespace:  System.Xml.XPath
Assembly:  System.Xml.XPath (in System.Xml.XPath.dll)


Public Overridable Function ComparePosition ( _
    nav As XPathNavigator _
) As XmlNodeOrder
public virtual XmlNodeOrder ComparePosition(
    XPathNavigator nav


Return Value

Type: System.Xml.XmlNodeOrder
An XmlNodeOrder value representing the comparative position of the two XPathNavigator objects.

Version Information


Supported in: 5, 4


For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.