CultureInfo.GetHashCode Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Serves as a hash function for the current CultureInfo, suitable for hashing algorithms and data structures, such as a hash table.

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

Syntax

Public Overrides Function GetHashCode As Integer
public override int GetHashCode()

Return Value

Type: System..::.Int32
A hash code for the current CultureInfo.

Remarks

This method overrides Object..::.GetHashCode.

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

CultureInfo Class

System.Globalization Namespace

Object..::.GetHashCode

Equals