_MethodBase.GetType Method ()


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

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

Type GetType()

Return Value

Type: System.Type

A Type object.

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

The GetType method gets the type of the current instance.

.NET Framework
Available since 1.1
Return to top