GetHashCode Method

_Type.GetHashCode Method ()


Provides COM objects with version-independent access to the Type.GetHashCode method.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

int GetHashCode()

Return Value

Type: System.Int32

An Int32 containing the hash code for this instance.

This method is for access to managed classes from unmanaged code, and should not be called from managed code.

The Type.GetHashCode method.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft