_Type.TypeHandle 屬性

定義

為 COM 物件提供與版本無關的 TypeHandle 屬性之存取權。Provides COM objects with version-independent access to the TypeHandle property.

public:
 property RuntimeTypeHandle TypeHandle { RuntimeTypeHandle get(); };
public RuntimeTypeHandle TypeHandle { get; }
member this.TypeHandle : RuntimeTypeHandle
Public ReadOnly Property TypeHandle As RuntimeTypeHandle

屬性值

目前 Type 的控制代碼。The handle for the current Type.

備註

這個屬性是用來從非受控程式碼存取 managed 類別,而且不應該從 managed 程式碼呼叫。This property is for access to managed classes from unmanaged code, and should not be called from managed code.

屬性會取得目前Type的控制碼。 Type.TypeHandleThe Type.TypeHandle property gets the handle for the current Type.

適用於