CodeClass.CreateMethod Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| CreateMethod(String, Type, Type[]) | |
| CreateMethod(String, MethodAttributes, Type, Type[]) |
CreateMethod(String, Type, Type[])
public:
Mono::CodeGeneration::CodeMethod ^ CreateMethod(System::String ^ name, Type ^ returnType, ... cli::array <Type ^> ^ parameterTypes);
public Mono.CodeGeneration.CodeMethod CreateMethod (string name, Type returnType, params Type[] parameterTypes);
member this.CreateMethod : string * Type * Type[] -> Mono.CodeGeneration.CodeMethod
Public Function CreateMethod (name As String, returnType As Type, ParamArray parameterTypes As Type()) As CodeMethod
Parameters
- name
- String
- returnType
- Type
- parameterTypes
- Type[]
Returns
Applies to
CreateMethod(String, MethodAttributes, Type, Type[])
public:
Mono::CodeGeneration::CodeMethod ^ CreateMethod(System::String ^ name, System::Reflection::MethodAttributes attributes, Type ^ returnType, ... cli::array <Type ^> ^ parameterTypes);
public Mono.CodeGeneration.CodeMethod CreateMethod (string name, System.Reflection.MethodAttributes attributes, Type returnType, params Type[] parameterTypes);
member this.CreateMethod : string * System.Reflection.MethodAttributes * Type * Type[] -> Mono.CodeGeneration.CodeMethod
Public Function CreateMethod (name As String, attributes As MethodAttributes, returnType As Type, ParamArray parameterTypes As Type()) As CodeMethod
Parameters
- name
- String
- attributes
- MethodAttributes
- returnType
- Type
- parameterTypes
- Type[]