Export (0) Print
Expand All

TextInfo.GetHashCode Method

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

[Visual Basic]
Overrides Public Function GetHashCode() As Integer
[C#]
public override int GetHashCode();
[C++]
public: int GetHashCode();
[JScript]
public override function GetHashCode() : int;

Return Value

A hash code for the current TextInfo.

Remarks

This method overrides Object.GetHashCode.

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

TextInfo Class | TextInfo Members | System.Globalization Namespace | Object.GetHashCode | System.Collections.Hashtable | Equals

Show:
© 2014 Microsoft