TypeDelegator.GetConstructors(BindingFlags) メソッド

定義

現在の TypeDelegator によってラップされている型に定義されたコンストラクターを表す ConstructorInfo オブジェクトの配列を返します。

public:
 override cli::array <System::Reflection::ConstructorInfo ^> ^ GetConstructors(System::Reflection::BindingFlags bindingAttr);
public override System.Reflection.ConstructorInfo[] GetConstructors (System.Reflection.BindingFlags bindingAttr);
[System.Runtime.InteropServices.ComVisible(true)]
public override System.Reflection.ConstructorInfo[] GetConstructors (System.Reflection.BindingFlags bindingAttr);
override this.GetConstructors : System.Reflection.BindingFlags -> System.Reflection.ConstructorInfo[]
[<System.Runtime.InteropServices.ComVisible(true)>]
override this.GetConstructors : System.Reflection.BindingFlags -> System.Reflection.ConstructorInfo[]
Public Overrides Function GetConstructors (bindingAttr As BindingFlags) As ConstructorInfo()

パラメーター

bindingAttr
BindingFlags

検索の実行方法に影響を与えるビットマスク。 この値は、BindingFlags の 0 個以上のビット フラグの組み合わせです。

戻り値

このクラスに定義されている指定したコンストラクターを格納している ConstructorInfo 型の配列。 コンストラクターが定義されていない場合は、空の配列が返されます。 指定したパラメーターの値によって、パブリック コンストラクターだけが返されるか、パブリック コンストラクターと非パブリック コンストラクターの両方が返されるかが決まります。

属性

注釈

クラス初期化子は、、GetMembersFindMembers、および GetConstructorsでのみGetMember使用できます。

適用対象