XNodeEqualityComparer.IEqualityComparer.GetHashCode Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns a hash code based on the value of a node.
Assembly: System.Xml.Linq (in System.Xml.Linq.dll)
'Declaration Private Function GetHashCode ( _ obj As Object _ ) As Integer Implements IEqualityComparer.GetHashCode
Parameters
- obj
- Type: System.Object
The node to hash.
Implements
IEqualityComparer.GetHashCode(Object)The XNode implementation of GetHashCode is based on the referential identity of the node. This method computes a deep hash code based on the value of the node, its attributes, and its descendants.
Show: