MethodInfo.CreateDelegate Método

Definição

Cria um delegado a partir deste método.

Sobrecargas

Name Description
CreateDelegate(Type)

Cria um delegado do tipo especificado a partir deste método.

CreateDelegate(Type, Object)

Cria um delegado do tipo especificado com o alvo especificado a partir deste método.

CreateDelegate(Type)

Cria um delegado do tipo especificado a partir deste 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 de delegado a criar.

Devoluções

O delegado para este método.

Aplica-se a

CreateDelegate(Type, Object)

Cria um delegado do tipo especificado com o alvo especificado a partir deste 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 de delegado a criar.

target
Object

O objeto alvo do delegado.

Devoluções

O delegado para este método.

Aplica-se a