Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TypeBuilder.DefineMethod Method

Adds a method to the type.

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

  Name Description
Public method DefineMethod(String, MethodAttributes) Adds a new method to the type, with the specified name and method attributes.
Public method DefineMethod(String, MethodAttributes, CallingConventions) Adds a new method to the type, with the specified name, method attributes, and calling convention.
Public method DefineMethod(String, MethodAttributes, Type, Type[]) Adds a new method to the type, with the specified name, method attributes, and method signature.
Public method DefineMethod(String, MethodAttributes, CallingConventions, Type, Type[]) Adds a new method to the type, with the specified name, method attributes, calling convention, and method signature.
Public method DefineMethod(String, MethodAttributes, CallingConventions, Type, Type[], Type[], Type[], Type[][], Type[][]) Adds a new method to the type, with the specified name, method attributes, calling convention, method signature, and custom modifiers.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.