System.Xml.XPath.XPathNavigator.NavigatorComparer Property

Gets an IEqualityComparer used for equality comparison of System.Xml.XPath.XPathNavigator objects.

Syntax

public static IEqualityComparer NavigatorComparer { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The XPathNavigator.NavigatorComparer property allows System.Xml.XPath.XPathNavigator objects to be compared on the basis of position rather than reference to the object. The XPathNavigator.ComparePosition(XPathNavigator) and erload:System.Object.Equals methods implemented by this class are based on the position of the System.Xml.XPath.XPathNavigator objects passed as parameters. The object.GetHashCode method implemented by this class uses the properties of the node such as its local name and namespace URI to create a hash code for the node.

Requirements

Namespace: System.Xml.XPath
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0