NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Delegate.CreateDelegate

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 to represent the specified instance method of the specified Type instance.

[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 to represent the specified instance method of the specified Object 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;

See Also

Delegate Class | Delegate Members | System Namespace