Teilen über


MemberDescriptor.GetInvokee(Type, Object) Methode

Definition

Achtung

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

Achtung

MemberDescriptor.GetInvokee has been deprecated. Use GetInvocationTarget instead.

Achtung

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

Achtung

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

Ruft die Komponente ab, für die eine Methode aufgerufen werden soll.

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

Parameter

componentClass
Type

Eine Type-Klasse, die den Komponententyp darstellt, an den diese MemberDescriptor-Klasse gebunden ist. Wenn diese MemberDescriptor-Klasse z. B. eine Eigenschaft beschreibt, muss es sich bei diesem Parameter um die Klasse handeln, für die die Eigenschaft deklariert ist.

component
Object

Eine Instanz des aufzurufenden Objekts.

Gibt zurück

Eine Instanz der aufzurufenden Komponente. Diese Methode gibt einen visuellen Designer zurück, sofern sie einem visuellen Designer zugeordnet ist.

Attribute

Ausnahmen

componentClass oder component ist null.

Gilt für: