MethodInfo.CreateDelegate 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.
Crea un delegato da questo metodo.
Overload
| Nome | Descrizione |
|---|---|
| CreateDelegate(Type) |
Crea un delegato del tipo specificato da questo metodo. |
| CreateDelegate(Type, Object) |
Crea un delegato del tipo specificato con la destinazione specificata da questo metodo. |
CreateDelegate(Type)
Crea un delegato del tipo specificato da questo metodo.
public:
virtual Delegate ^ CreateDelegate(Type ^ delegateType);
public virtual Delegate CreateDelegate(Type delegateType);
abstract member CreateDelegate : Type -> Delegate
override this.CreateDelegate : Type -> Delegate
Public Overridable Function CreateDelegate (delegateType As Type) As Delegate
Parametri
- delegateType
- Type
Tipo del delegato da creare.
Valori restituiti
Delegato per questo metodo.
Si applica a
CreateDelegate(Type, Object)
Crea un delegato del tipo specificato con la destinazione specificata da questo metodo.
public:
virtual Delegate ^ CreateDelegate(Type ^ delegateType, System::Object ^ target);
public virtual Delegate CreateDelegate(Type delegateType, object target);
abstract member CreateDelegate : Type * obj -> Delegate
override this.CreateDelegate : Type * obj -> Delegate
Public Overridable Function CreateDelegate (delegateType As Type, target As Object) As Delegate
Parametri
- delegateType
- Type
Tipo del delegato da creare.
- target
- Object
Oggetto di destinazione del delegato.
Valori restituiti
Delegato per questo metodo.