This documentation is archived and is not being maintained.

Enum.GetHashCode Method

Returns the hash code for the value of this instance.

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

Return Value

A 32-bit signed integer hash code.


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, Common Language Infrastructure (CLI) Standard

See Also

Enum Class | Enum Members | System Namespace