EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

Delegate.CreateDelegate Method

Creates a delegate of the specified type.

Overload List

Creates a delegate of the specified type to represent the specified static method.

[Visual Basic] Overloads Public Shared Function CreateDelegate(Type, MethodInfo) As Delegate
[C#] public static Delegate CreateDelegate(Type, MethodInfo);
[C++] public: static Delegate* CreateDelegate(Type*, MethodInfo*);
[JScript] public static function CreateDelegate(Type, MethodInfo) : Delegate;

Creates a delegate of the specified type that represents the specified instance method to invoke on the specified class instance.

[Visual Basic] Overloads Public Shared Function CreateDelegate(Type, Object, String) As Delegate
[C#] public static Delegate CreateDelegate(Type, object, string);
[C++] public: static Delegate* CreateDelegate(Type*, Object*, String*);
[JScript] public static function CreateDelegate(Type, Object, String) : Delegate;

Creates a delegate of the specified type that represents the specified static method of the specified class.

[Visual Basic] Overloads Public Shared Function CreateDelegate(Type, Type, String) As Delegate
[C#] public static Delegate CreateDelegate(Type, Type, string);
[C++] public: static Delegate* CreateDelegate(Type*, Type*, String*);
[JScript] public static function CreateDelegate(Type, Type, String) : Delegate;

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.

[Visual Basic] Overloads Public Shared Function CreateDelegate(Type, Object, String, Boolean) As Delegate
[C#] public static Delegate CreateDelegate(Type, object, string, bool);
[C++] public: static Delegate* CreateDelegate(Type*, Object*, String*, bool);
[JScript] public static function CreateDelegate(Type, Object, String, Boolean) : Delegate;

See Also

Delegate Class | Delegate Members | System Namespace

Afficher:
© 2014 Microsoft