Module.GetMethodImpl Metoda

Definicja

Zwraca implementację metody zgodnie z określonymi kryteriami.

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

Nazwa metody.

bindingAttr
BindingFlags

BindingFlags Jedna z flag bitów używana do kontrolowania wyszukiwania.

binder
Binder

Obiekt, który implementuje Binderobiekt zawierający właściwości powiązane z tą metodą.

callConvention
CallingConventions

Konwencja wywoływania metody .

types
Type[]

Typy parametrów do wyszukania.

modifiers
ParameterModifier[]

Tablica modyfikatorów parametrów używana do tworzenia powiązań z podpisami parametrów, w których typy zostały zmodyfikowane.

Zwraca

MethodInfo Obiekt zawierający informacje o implementacji określone lub null jeśli metoda nie istnieje.

Wyjątki

types to null.

Dotyczy

Zobacz też