Comparteix a través de


GenericTypeParameterBuilder.InvokeMember Método

Definición

No compatible para los parámetros de tipo genérico incompletos.

public:
 override System::Object ^ InvokeMember(System::String ^ name, System::Reflection::BindingFlags invokeAttr, System::Reflection::Binder ^ binder, System::Object ^ target, cli::array <System::Object ^> ^ args, cli::array <System::Reflection::ParameterModifier> ^ modifiers, System::Globalization::CultureInfo ^ culture, cli::array <System::String ^> ^ namedParameters);
public override object InvokeMember (string name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder? binder, object? target, object?[]? args, System.Reflection.ParameterModifier[]? modifiers, System.Globalization.CultureInfo? culture, string[]? namedParameters);
public override object InvokeMember (string name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object target, object[] args, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, string[] namedParameters);
override this.InvokeMember : string * System.Reflection.BindingFlags * System.Reflection.Binder * obj * obj[] * System.Reflection.ParameterModifier[] * System.Globalization.CultureInfo * string[] -> obj
Public Overrides Function InvokeMember (name As String, invokeAttr As BindingFlags, binder As Binder, target As Object, args As Object(), modifiers As ParameterModifier(), culture As CultureInfo, namedParameters As String()) As Object

Parámetros

name
String

No se admite.

invokeAttr
BindingFlags

No compatible.

binder
Binder

No compatible.

target
Object

No compatible.

args
Object[]

No compatible.

modifiers
ParameterModifier[]

No compatible.

culture
CultureInfo

No compatible.

namedParameters
String[]

No compatible.

Devoluciones

No compatible para los parámetros de tipo genérico incompletos.

Excepciones

En todos los casos.

Comentarios

Este método no se admite para parámetros de tipo genérico incompletos. Recupere el parámetro type de la definición de tipo genérico completada y, a continuación, use la reflexión en el tipo recuperado.

Se aplica a