Sdílet prostřednictvím


MemberDescriptor.GetInvokee(Type, Object) Metoda

Definice

Upozornění

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

Upozornění

MemberDescriptor.GetInvokee has been deprecated. Use GetInvocationTarget instead.

Upozornění

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

Upozornění

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

Získá komponentu, na které se má vyvolat metoda.

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

Parametry

componentClass
Type

Představuje Type typ komponenty, na který je vázán MemberDescriptor . Pokud například popisuje MemberDescriptor vlastnost, měl by tento parametr být třída, ve které je vlastnost deklarována.

component
Object

Instance objektu k volání.

Návraty

Instance komponenty k vyvolání. Tato metoda vrátí vizuální návrhář, když je vlastnost připojena k vizuálnímu návrháři.

Atributy

Výjimky

componentClass nebo component je null.

Platí pro