MethodInfo.CreateDelegate Método

Definição

Cria um delegado com base nesse método.

Sobrecargas

Nome Description
CreateDelegate(Type)

Cria um delegado do tipo especificado desse método.

CreateDelegate(Type, Object)

Cria um delegado do tipo especificado com o destino especificado desse método.

CreateDelegate(Type)

Cria um delegado do tipo especificado desse 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

O tipo do delegado a ser criado.

Retornos

O delegado para esse método.

Aplica-se a

CreateDelegate(Type, Object)

Cria um delegado do tipo especificado com o destino especificado desse 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

O tipo do delegado a ser criado.

target
Object

O objeto direcionado pelo delegado.

Retornos

O delegado para esse método.

Aplica-se a