MemberDescriptor.GetInvokee(Type, Object) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Attenzione
This method has been deprecated. Use GetInvocationTarget instead. http://go.microsoft.com/fwlink/?linkid=14202
Attenzione
This method has been deprecated. Use GetInvocationTarget instead. https://go.microsoft.com/fwlink/?linkid=14202
Ottiene il componente su cui richiamare un metodo.
protected:
static System::Object ^ GetInvokee(Type ^ componentClass, System::Object ^ component);
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);
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
Parametri
- componentClass
- Type
Oggetto Type che rappresenta il tipo di componente MemberDescriptor a cui è associato. Ad esempio, se questo MemberDescriptor descrive una proprietà, questo parametro deve essere la classe in cui viene dichiarata la proprietà .
- component
- Object
Istanza dell'oggetto da chiamare.
Valori restituiti
Istanza del componente da richiamare. Questo metodo restituisce una finestra di progettazione visiva quando la proprietà è associata a una finestra di progettazione visiva.
- Attributi
Eccezioni
componentClass o component è null.