Module.GetMethodImpl Metoda

Definice

Vrátí implementaci metody v souladu se zadanými kritérii.

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

Parametry

name
String

Název metody.

bindingAttr
BindingFlags

Jeden z BindingFlags bitových příznaků používaných k řízení vyhledávání.

binder
Binder

Objekt, který implementuje Binder , obsahující vlastnosti související s touto metodou.

callConvention
CallingConventions

Konvence volání pro metodu .

types
Type[]

Typy parametrů, které chcete vyhledat.

modifiers
ParameterModifier[]

Pole modifikátorů parametrů, které slouží k vytvoření vazby s podpisy parametrů, ve kterých byly typy změněny.

Návraty

MethodInfo

Objekt MethodInfo obsahující informace o implementaci, jak je uvedeno, nebo pokud metoda null neexistuje.

Výjimky

types je null.

Platí pro

Viz také