Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
TypeBuilder Class

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
TypeBuilder..::.DefineMethod Method

Adds a method to the type.

  NameDescription
Public methodDefineMethod(String, MethodAttributes)Adds a new method to the type, with the specified name and method attributes.
Public methodDefineMethod(String, MethodAttributes, CallingConventions)Adds a new method to the type, with the specified name, method attributes, and calling convention.
Public methodDefineMethod(String, MethodAttributes, Type, array<Type>[]()[])Adds a new method to the type, with the specified name, method attributes, and method signature.
Public methodDefineMethod(String, MethodAttributes, CallingConventions, Type, array<Type>[]()[])Adds a new method to the type, with the specified name, method attributes, calling convention, and method signature.
Public methodDefineMethod(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.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker