CompareInfo.GetHashCode Method

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns a hash code either for this CompareInfo instance or for a particular string.

Namespace:   System.Globalization
Assembly:  mscorlib (in mscorlib.dll)


Serves as a hash function for the current CompareInfo for hashing algorithms and data structures, such as a hash table.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetHashCode(String, CompareOptions)

Gets the hash code for a string based on specified comparison options.

Return to top