IEqualityComparer: GetHashCode |
Returns a hash code for the specified value.
Public Function GetHashCode( ByRef Obj As Variant ) As Long
Implement this method to provide customized hash codes for values,corresponding to the customized equality comparison provided by the Equals method.
Notes to Implementers
Implementations are required to ensure that if the Equals method returns True for two values x and y, then the value returned by the GetHashCode method for x must equal the value returned for y.