Defines a global method.
Defines a global method given its name, attributes, calling convention, return type, and parameter types.
[Visual Basic] Overloads Public Function DefineGlobalMethod(String, MethodAttributes, CallingConventions, Type, Type()) As MethodBuilder
[C#] public MethodBuilder DefineGlobalMethod(String, MethodAttributes, CallingConventions, Type, Type[]);
[C++] public: MethodBuilder* DefineGlobalMethod(String*, MethodAttributes, CallingConventions, Type, Type[]);
[JScript] public function DefineGlobalMethod(String, MethodAttributes, CallingConventions, Type, Type[]) : MethodBuilder;
Defines a global method given its name, attributes, return type, and parameter types.
[Visual Basic] Overloads Public Function DefineGlobalMethod(String, MethodAttributes, Type, Type()) As MethodBuilder
[C#] public MethodBuilder DefineGlobalMethod(String, MethodAttributes, Type, Type[]);
[C++] public: MethodBuilder* DefineGlobalMethod(String*, MethodAttributes, Type, Type[]);
[JScript] public function DefineGlobalMethod(String, MethodAttributes, Type, Type[]) : MethodBuilder;
NGWS Runtime Security:
ReflectionPermission | SecurityAction.Demand, ReflectionEmit |
ModuleBuilder Class | ModuleBuilder Members | System.Reflection.Emit Namespace