Defines a method.
Adds a new method to the class, with the given name and method signature.
[Visual Basic] Overloads Public Function DefineMethod(String, MethodAttributes, Type, Type()) As MethodBuilder
[C#] public MethodBuilder DefineMethod(String, MethodAttributes, Type, Type[]);
[C++] public: MethodBuilder* DefineMethod(String*, MethodAttributes, Type, Type[]);
[JScript] public function DefineMethod(String, MethodAttributes, Type, Type[]) : MethodBuilder;
Adds a new method to the class, with the given name and method signature.
[Visual Basic] Overloads Public Function DefineMethod(String, MethodAttributes, CallingConventions, Type, Type()) As MethodBuilder
[C#] public MethodBuilder DefineMethod(String, MethodAttributes, CallingConventions, Type, Type[]);
[C++] public: MethodBuilder* DefineMethod(String*, MethodAttributes, CallingConventions, Type, Type[]);
[JScript] public function DefineMethod(String, MethodAttributes, CallingConventions, Type, Type[]) : MethodBuilder;
TypeBuilder Class | TypeBuilder Members | System.Reflection.Emit Namespace