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);
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 して出力されるコードで定義されます。
重要
モジュール レベルのメソッドは、モジュールに対して メソッドが CreateGlobalFunctions 呼び出されるまで取得できません。
製品 | バージョン |
---|---|
.NET | 6, 7, 8, 9, 10 |
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET に関するフィードバック
.NET はオープンソース プロジェクトです。 フィードバックを提供するにはリンクを選択します。