ExportedDelegate.CreateDelegate(Type) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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.