Udostępnij za pośrednictwem


ExportedDelegate.CreateDelegate(Type) Metoda

Definicja

Pobiera delegata określonego typu.

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

Parametry

delegateType
Type

Typ delegata do zwrócenia.

Zwraca

Pełnomocnik określonego typu lub null jeśli nie można utworzyć takiego delegata.

Dotyczy