_Type.TypeInitializer 屬性

定義

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

public:
 property System::Reflection::ConstructorInfo ^ TypeInitializer { System::Reflection::ConstructorInfo ^ get(); };
public System.Reflection.ConstructorInfo TypeInitializer { get; }
member this.TypeInitializer : System.Reflection.ConstructorInfo
Public ReadOnly Property TypeInitializer As ConstructorInfo

屬性值

ConstructorInfo,包含 Type 的類別建構函式名稱。A ConstructorInfo containing the name of the class constructor for the Type.

備註

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

屬性會取得的初始化運算式TypeType.TypeInitializerThe Type.TypeInitializer property gets the initializer for the Type.

適用於