Compartir a través de


MemberDescriptor.GetInvokee(Type, Object) Método

Definición

Precaución

This method has been deprecated. Use GetInvocationTarget instead. https://go.microsoft.com/fwlink/?linkid=14202

Precaución

MemberDescriptor.GetInvokee has been deprecated. Use GetInvocationTarget instead.

Precaución

This method has been deprecated. Use GetInvocationTarget instead. http://go.microsoft.com/fwlink/?linkid=14202

Precaución

This method has been deprecated. Use GetInvocationTarget instead. https://go.microsoft.com/fwlink/?linkid=14202

Obtiene el componente en el que se debe invocar a un método.

protected:
 static System::Object ^ GetInvokee(Type ^ componentClass, System::Object ^ component);
[System.Obsolete("This method has been deprecated. Use GetInvocationTarget instead. https://go.microsoft.com/fwlink/?linkid=14202")]
protected static object GetInvokee (Type componentClass, object component);
protected static object GetInvokee (Type componentClass, object component);
[System.Obsolete("MemberDescriptor.GetInvokee has been deprecated. Use GetInvocationTarget instead.")]
protected static object GetInvokee (Type componentClass, object component);
[System.Obsolete("This method has been deprecated. Use GetInvocationTarget instead.  http://go.microsoft.com/fwlink/?linkid=14202")]
protected static object GetInvokee (Type componentClass, object component);
[System.Obsolete("This method has been deprecated. Use GetInvocationTarget instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
protected static object GetInvokee (Type componentClass, object component);
[<System.Obsolete("This method has been deprecated. Use GetInvocationTarget instead. https://go.microsoft.com/fwlink/?linkid=14202")>]
static member GetInvokee : Type * obj -> obj
static member GetInvokee : Type * obj -> obj
[<System.Obsolete("MemberDescriptor.GetInvokee has been deprecated. Use GetInvocationTarget instead.")>]
static member GetInvokee : Type * obj -> obj
[<System.Obsolete("This method has been deprecated. Use GetInvocationTarget instead.  http://go.microsoft.com/fwlink/?linkid=14202")>]
static member GetInvokee : Type * obj -> obj
[<System.Obsolete("This method has been deprecated. Use GetInvocationTarget instead.  https://go.microsoft.com/fwlink/?linkid=14202")>]
static member GetInvokee : Type * obj -> obj
Protected Shared Function GetInvokee (componentClass As Type, component As Object) As Object

Parámetros

componentClass
Type

Type que representa el tipo de componente al que está enlazado MemberDescriptor. Por ejemplo, si esta clase MemberDescriptor describe una propiedad, este parámetro deberá ser la clase en la que se declare la propiedad.

component
Object

Instancia del objeto al que se va a llamar.

Devoluciones

Instancia del componente al que se va a invocar. Este método devuelve un diseñador visual cuando la propiedad está asociada a un diseñador visual.

Atributos

Excepciones

componentClass o component es null.

Se aplica a