Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CreateDelegate Method

Delegate.CreateDelegate Method

Creates a delegate of the specified type.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Supported by Portable Class Library CreateDelegate(Type, MethodInfo) Creates a delegate of the specified type to represent the specified static method.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library CreateDelegate(Type, Object, MethodInfo) Creates a delegate of the specified type that represents the specified static or instance method, with the specified first argument.
Public method Static member CreateDelegate(Type, Object, String) Creates a delegate of the specified type that represents the specified instance method to invoke on the specified class instance.
Public method Static member CreateDelegate(Type, MethodInfo, Boolean) Creates a delegate of the specified type to represent the specified static method, with the specified behavior on failure to bind.
Public method Static member CreateDelegate(Type, Type, String) Creates a delegate of the specified type that represents the specified static method of the specified class.
Public method Static member CreateDelegate(Type, Object, MethodInfo, Boolean) Creates a delegate of the specified type that represents the specified static or instance method, with the specified first argument and the specified behavior on failure to bind.
Public method Static member CreateDelegate(Type, Object, String, Boolean) Creates a delegate of the specified type that represents the specified instance method to invoke on the specified class instance with the specified case-sensitivity.
Public method Static member CreateDelegate(Type, Type, String, Boolean) Creates a delegate of the specified type that represents the specified static method of the specified class, with the specified case-sensitivity.
Public method Static member CreateDelegate(Type, Object, String, Boolean, Boolean) Creates a delegate of the specified type that represents the specified instance method to invoke on the specified class instance, with the specified case-sensitivity and the specified behavior on failure to bind.
Public method Static member CreateDelegate(Type, Type, String, Boolean, Boolean) Creates a delegate of the specified type that represents the specified static method of the specified class, with the specified case-sensitivity and the specified behavior on failure to bind.
Top
Show:
© 2015 Microsoft