ModuleBuilder.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 ビット フラグの組み合わせ。
- binder
- Binder
このメソッドに関連するプロパティを含む Binderを実装するオブジェクト。
- callConvention
- CallingConventions
メソッドの呼び出し規則。
- types
- Type[]
メソッドのパラメーター型。
- modifiers
- ParameterModifier[]
型が変更されたパラメーター シグネチャでバインドを機能させるために使用されるパラメーター修飾子の配列。
返品
モジュール レベルで定義され、指定された条件に一致するメソッド。または、そのようなメソッドが存在しない場合は null します。
例外
name が null、 types が null、または types の要素が null。
注釈
このメソッドは、継承された Module.GetMethod メソッドのすべてのオーバーロードの実装を提供します。 継承された Module.GetMethod メソッドを使用して、モジュール レベルで宣言されているメソッドを取得します。 モジュール レベルのメソッドは、 DefineGlobalMethod メソッドを使用して出力されるコードで定義されます。
Important
モジュール レベルのメソッドは、モジュールに対して CreateGlobalFunctions メソッドが呼び出されるまで取得できません。