This topic has not yet been rated - Rate this topic

MethodInfo.CreateDelegate Method (Type, Object)

April 12, 2014

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.

Windows Phone OS

Supported in: 8.1, 8.0

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.