Serves as a hash function for a particular type.
System.Object.GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
Syntax
Visual Basic (Declaration) | |
---|
Public Overrides Function GetHashCode() As Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As MapperInfo
Dim value As Integer
value = instance.GetHashCode() |
C# | |
---|
public override int GetHashCode() |
Return Value
A hash code for the current
System.Object.
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also