Partager via


MemberDescriptor.GetInvokee(Type, Object) Méthode

Définition

Attention

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

Attention

MemberDescriptor.GetInvokee has been deprecated. Use GetInvocationTarget instead.

Attention

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

Attention

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

Obtient le composant sur lequel une méthode doit être appelée.

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

Paramètres

componentClass
Type

Type représentant le type du composant auquel ce MemberDescriptor est lié. Par exemple, si ce MemberDescriptor décrit une propriété, ce paramètre doit être la classe sur laquelle la propriété est déclarée.

component
Object

Instance de l'objet à appeler.

Retours

Instance du composant à appeler. Cette méthode retourne un concepteur visuel si la propriété est attachée à un concepteur visuel.

Attributs

Exceptions

componentClass ou component est null.

S’applique à