Module.GetMethodImpl メソッド

定義

指定した基準に一致するメソッド実装を返します。

protected:
 virtual 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 virtual 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 virtual System.Reflection.MethodInfo GetMethodImpl (string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, Type[] types, System.Reflection.ParameterModifier[] modifiers);
abstract member GetMethodImpl : string * System.Reflection.BindingFlags * System.Reflection.Binder * System.Reflection.CallingConventions * Type[] * System.Reflection.ParameterModifier[] -> System.Reflection.MethodInfo
override this.GetMethodImpl : string * System.Reflection.BindingFlags * System.Reflection.Binder * System.Reflection.CallingConventions * Type[] * System.Reflection.ParameterModifier[] -> System.Reflection.MethodInfo
Protected Overridable 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[]

型が変更されているパラメーター シグネチャでバインドを機能させるために使われるパラメーター修飾子の配列。

戻り値

MethodInfo

指定した条件の実装情報を格納した MethodInfo オブジェクト。メソッドが存在しない場合は null

例外

typesnullです。

適用対象

こちらもご覧ください