Windows Dev Center

DynamicMethod.CreateDelegate Method

Completes the dynamic method and creates a delegate that can be used to execute it.

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

  NameDescription
Public method CreateDelegate(Type) Completes the dynamic method and creates a delegate of the specified type, which can be used to execute the dynamic method. (Overrides MethodInfo.CreateDelegate(Type).)
Public method CreateDelegate(Type, Object) Completes the dynamic method and creates a delegate that can be used to execute it, specifying the delegate type and an object the delegate is bound to. (Overrides MethodInfo.CreateDelegate(Type, Object).)
Top

Show:
© 2015 Microsoft