Module.GetMethodImpl Metodo

Definizione

Restituisce l'implementazione del metodo secondo i criteri specificati.

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

Parametri

name
String

Nome del metodo.

bindingAttr
BindingFlags

Uno dei flag di bit BindingFlags usati per controllare la ricerca.

binder
Binder

Oggetto che implementa Binder, contenente le proprietà relative a questo metodo.

callConvention
CallingConventions

Convenzione di chiamata del metodo.

types
Type[]

Tipi di parametro da cercare.

modifiers
ParameterModifier[]

Matrice di modificatori di parametro usata per creare associazioni con le firme del parametro in cui sono stati modificati i tipi.

Restituisce

MethodInfo

Oggetto MethodInfo contenente le informazioni di implementazione specificate o null se il metodo non esiste.

Eccezioni

types è null.

Si applica a

Vedi anche