MethodInfo.CreateDelegate Yöntem

Tanım

Bu yöntemden bir temsilci oluşturur.

Aşırı Yüklemeler

Name Description
CreateDelegate(Type)

Bu yöntemden belirtilen türde bir temsilci oluşturur.

CreateDelegate(Type, Object)

Bu yöntemden belirtilen hedefle belirtilen türde bir temsilci oluşturur.

CreateDelegate(Type)

Bu yöntemden belirtilen türde bir temsilci oluşturur.

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

Parametreler

delegateType
Type

Oluşturulacak temsilcinin türü.

Döndürülenler

Bu yöntemin temsilcisi.

Şunlara uygulanır

CreateDelegate(Type, Object)

Bu yöntemden belirtilen hedefle belirtilen türde bir temsilci oluşturur.

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

Parametreler

delegateType
Type

Oluşturulacak temsilcinin türü.

target
Object

Temsilci tarafından hedeflenen nesne.

Döndürülenler

Bu yöntemin temsilcisi.

Şunlara uygulanır