共用方式為


Delegate.CreateDelegate Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

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.

Overload List

  Name Description
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 CreateDelegate(Type, MethodInfo) Creates a delegate of the specified type to represent the specified static method.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 CreateDelegate(Type, Type, String) Creates a delegate of the specified type that represents the specified static method of the specified class.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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

See Also

Reference