Serves as a hash function for a particular type.
Syntax
Visual Basic (Declaration) | |
---|
Overrides Public Function GetHashCode() As Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As TargetFormat
Dim value As Integer
value = instance.GetHashCode() |
C# | |
---|
public override int GetHashCode() |
C++/CLI | |
---|
public:
int GetHashCode(); override |
Return Value
System.Int32
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also