_ConstructorInfo.GetType Method

Definition

为 COM 对象提供对 GetType() 方法的与版本无关的访问。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

Type

一个 Type 对象。A Type object.

Remarks

此方法用于从非托管代码访问托管类,不应从托管代码调用。This method is for access to managed classes from unmanaged code, and should not be called from managed code.

GetType 方法获取当前实例的类型。The GetType method gets the type of the current instance.

Applies to