GetHashCode Method
Collapse the table of content
Expand the table of content

TextInfo.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 TextInfo object, suitable for hashing algorithms and data structures, such as a hash table.

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

'Declaration
Public Overrides Function GetHashCode As Integer

Return Value

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

This method overrides Object.GetHashCode.

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft