TypeBuilder::DefineMethod Method
.NET Framework (current version)
Adds a method to the type.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | DefineMethod(String^, MethodAttributes) | Adds a new method to the type, with the specified name and method attributes. |
![]() | DefineMethod(String^, MethodAttributes, CallingConventions) | Adds a new method to the type, with the specified name, method attributes, and calling convention. |
![]() | DefineMethod(String^, MethodAttributes, CallingConventions, Type^, array<Type^>^) | Adds a new method to the type, with the specified name, method attributes, calling convention, and method signature. |
![]() | DefineMethod(String^, MethodAttributes, CallingConventions, Type^, array<Type^>^, array<Type^>^, array<Type^>^, array<array<Type^>^>^, array<array<Type^>^>^) | Adds a new method to the type, with the specified name, method attributes, calling convention, method signature, and custom modifiers. |
![]() | DefineMethod(String^, MethodAttributes, Type^, array<Type^>^) | Adds a new method to the type, with the specified name, method attributes, and method signature. |
Show:
