Bewerken

Share via


_MethodBase.GetType Method

Definition

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

public:
 Type ^ GetType();
public Type GetType ();
abstract member GetType : unit -> Type
Public Function GetType () As Type

Returns

A Type object.

Remarks

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.

Applies to