MethodInfo.CreateDelegate Método

Definición

Crea un delegado a partir de este método.

Sobrecargas

Nombre Description
CreateDelegate(Type)

Crea un delegado del tipo especificado a partir de este método.

CreateDelegate(Type, Object)

Crea un delegado del tipo especificado con el destino especificado a partir de este método.

CreateDelegate(Type)

Crea un delegado del tipo especificado a partir de este método.

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

Parámetros

delegateType
Type

Tipo del delegado que se va a crear.

Devoluciones

Delegado para este método.

Se aplica a

CreateDelegate(Type, Object)

Crea un delegado del tipo especificado con el destino especificado a partir de este método.

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

Parámetros

delegateType
Type

Tipo del delegado que se va a crear.

target
Object

Objeto de destino del delegado.

Devoluciones

Delegado para este método.

Se aplica a