CodeClass.CreateMethod Method

Definition

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

CodeMethod

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[]

Returns

CodeMethod

Applies to