TypeDelegator.GetMethodImpl メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したバインディング制約と指定した呼び出し規則を使用して、指定した引数の型と修飾子と一致するパラメーターを持つ、指定したメソッドを検索します。
protected:
override System::Reflection::MethodInfo ^ GetMethodImpl(System::String ^ name, 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.MethodInfo GetMethodImpl(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, Type[] types, System.Reflection.ParameterModifier[] modifiers);
override this.GetMethodImpl : string * System.Reflection.BindingFlags * System.Reflection.Binder * System.Reflection.CallingConventions * Type[] * System.Reflection.ParameterModifier[] -> System.Reflection.MethodInfo
Protected Overrides Function GetMethodImpl (name As String, bindingAttr As BindingFlags, binder As Binder, callConvention As CallingConventions, types As Type(), modifiers As ParameterModifier()) As MethodInfo
パラメーター
- name
- String
メソッド名。
- bindingAttr
- BindingFlags
検索の実行方法に影響を与えるビットマスク。 値は、 BindingFlagsからの 0 個以上のビット フラグの組み合わせです。
- binder
- Binder
バインディング、引数型の強制変換、メンバーの呼び出し、リフレクションを使用した MemberInfo オブジェクトの取得を可能にするオブジェクト。
binder が nullされている場合は、既定のバインダーが使用されます。
- callConvention
- CallingConventions
呼び出し規約。
- types
- Type[]
パラメーター番号、順序、および型のリストを含む Type 型の配列。 型を nullすることはできません。適切な GetMethod メソッドまたは空の配列を使用して、パラメーターのないメソッドを検索します。
- modifiers
- ParameterModifier[]
型の配列ParameterModifiertypes配列と同じ長さを持ち、その要素は取得するメソッドのパラメーターに関連付けられた属性を表します。
返品
指定した条件に一致する実装メソッドの MethodInfoInfo オブジェクト。一致するものが見つからない場合は null 。
注釈
callConvention パラメーターは、エントリ ポイントの呼び出し規則を示します。
CallingConventionsが指定されていない場合は、Standardの既定のCallingConventions値が使用されます。