Type.TypeInitializer プロパティ

定義

型の初期化子を取得します。

public:
 property System::Reflection::ConstructorInfo ^ TypeInitializer { System::Reflection::ConstructorInfo ^ get(); };
public System.Reflection.ConstructorInfo? TypeInitializer { get; }
public System.Reflection.ConstructorInfo TypeInitializer { get; }
[System.Runtime.InteropServices.ComVisible(true)]
public System.Reflection.ConstructorInfo TypeInitializer { get; }
member this.TypeInitializer : System.Reflection.ConstructorInfo
[<System.Runtime.InteropServices.ComVisible(true)>]
member this.TypeInitializer : System.Reflection.ConstructorInfo
Public ReadOnly Property TypeInitializer As ConstructorInfo

プロパティ値

ConstructorInfo

Type のクラス コンストラクターの名前を格納するオブジェクト。

実装

属性

注釈

クラス初期化子は、メソッド、 FindMembers または GetMember GetMembers GetConstructor GetConstructors パラメーターとしてを受け取る、、、およびの各メソッドのオーバーロードによっても使用でき BindingFlags ます。

現在のが Type ジェネリック型またはジェネリックメソッドの定義の型パラメーターを表している場合、このプロパティはを返し null ます。

適用対象

こちらもご覧ください