Serves as a hash function for a particular type, 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 CustomAttributes
Dim value As Integer
value = instance.GetHashCode()
|
C# |
|
public override int GetHashCode() |
Return Value
A hash code for the current 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