System.Globalization.CompareInfo.GetHashCode Method

Serves as a hash function for the current System.Globalization.CompareInfo for hashing algorithms and data structures, such as a hash table.

Syntax

public override int GetHashCode ()

Returns

A hash code for the current System.Globalization.CompareInfo.

Remarks

This method overrides object.GetHashCode.

This method generates the same hash code for two objects that are equal according to the CompareInfo.Equals(object) method.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0