TypeDelegator.GetConstructorImpl メソッド

定義

TypeDelegator を実装したコンストラクターを取得します。

protected:
 override System::Reflection::ConstructorInfo ^ GetConstructorImpl(System::Reflection::BindingFlags bindingAttr, System::Reflection::Binder ^ binder, System::Reflection::CallingConventions callConvention, cli::array <Type ^> ^ types, cli::array <System::Reflection::ParameterModifier> ^ modifiers);
protected override System.Reflection.ConstructorInfo? GetConstructorImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Reflection.CallingConventions callConvention, Type[] types, System.Reflection.ParameterModifier[]? modifiers);
protected override System.Reflection.ConstructorInfo GetConstructorImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, Type[] types, System.Reflection.ParameterModifier[] modifiers);
override this.GetConstructorImpl : System.Reflection.BindingFlags * System.Reflection.Binder * System.Reflection.CallingConventions * Type[] * System.Reflection.ParameterModifier[] -> System.Reflection.ConstructorInfo
Protected Overrides Function GetConstructorImpl (bindingAttr As BindingFlags, binder As Binder, callConvention As CallingConventions, types As Type(), modifiers As ParameterModifier()) As ConstructorInfo

パラメーター

bindingAttr
BindingFlags

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

binder
Binder

バインディング、引数型の強制変換、メンバーの呼び出し、および、リフレクションを使用した MemberInfo オブジェクトの取得を有効にするオブジェクト。 bindernull の場合は、既定のバインダーが使用されます。

callConvention
CallingConventions

呼び出し規約。

types
Type[]

パラメーターの数、順序、および型のリストを格納している Type 型の配列。 types は null にできません。適切な GetMethod メソッドまたは空の配列を使用して、パラメーターなしのメソッドを検索します。

modifiers
ParameterModifier[]

types 配列と同じ長さで、要素が取得するメソッドのパラメーターに関連付けられた属性を表す ParameterModifier 型の配列。

戻り値

ConstructorInfo

指定した基準と一致するメソッドの ConstructorInfo オブジェクト。見つからなかった場合は null

注釈

このパラメーターは callConvention 、エントリ ポイントの呼び出し規約を示します。 呼び出し規則が指定されていない場合は、既定値 CallingConventionsStandard 使用されます。

適用対象

こちらもご覧ください