Method​Info.​Create​Delegate Method

Definition

Overloads

Create​Delegate(​Type)

Creates a delegate of the specified type from this method.

Create​Delegate(​Type, ​Object)

Creates a delegate of the specified type with the specified target from this method.

CreateDelegate(Type)

Creates a delegate of the specified type from this method.

public virtual Delegate CreateDelegate (Type delegateType);
Parameters
delegateType
Type

The type of the delegate to create.

Returns

The delegate for this method.

CreateDelegate(Type, Object)

Creates a delegate of the specified type with the specified target from this method.

public virtual Delegate CreateDelegate (Type delegateType, object target);
Parameters
delegateType
Type

The type of the delegate to create.

target
Object

The object targeted by the delegate.

Returns

The delegate for this method.