System.Globalization.SortKey.GetHashCode Method

Serves as a hash function for the current System.Globalization.SortKey object that is suitable 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.SortKey object.

Remarks

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

This method overrides object.GetHashCode.

Requirements

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