MethodInfo.CreateDelegate Method (Type, Object)

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

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public virtual Delegate CreateDelegate(
	Type delegateType,
	Object target
)

Parameters

delegateType
Type: System.Type
The type of the delegate to create.
target
Type: System.Object
The object targeted by the delegate.

Return Value

Type: System.Delegate
The delegate for this method.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: