Partilhar via


ExportedDelegate.CreateDelegate(Type) Método

Definição

Obtém um delegado do tipo especificado.

public:
 virtual Delegate ^ CreateDelegate(Type ^ delegateType);
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 retornado.

Retornos

Um delegado do tipo especificado ou null, se não for possível criar tal delegado.

Aplica-se a