Defines a PInvoke method.
Defines a PInvoke method given its name, the name of the DLL in which the method is defined, the attributes of the method, the calling convention of the method, the return type of the method, the types of the parameters of the method, and the PInvoke flags.
[Visual Basic] Overloads Public Function DefinePInvokeMethod(String, String, MethodAttributes, CallingConventions, Type, Type(), PInvokeMap) As MethodBuilder
[C#] public MethodBuilder DefinePInvokeMethod(String, String, MethodAttributes, CallingConventions, Type, Type[], PInvokeMap);
[C++] public: MethodBuilder* DefinePInvokeMethod(String*, String*, MethodAttributes, CallingConventions, Type, Type[], PInvokeMap);
[JScript] public function DefinePInvokeMethod(String, String, MethodAttributes, CallingConventions, Type, Type[], PInvokeMap) : MethodBuilder;
Defines a PInvoke method given its name, the name of the DLL in which the method is defined, the attributes of the method, the calling convention of the method, the return type of the method, the types of the parameters of the method, and the PInvoke flags.
[Visual Basic] Overloads Public Function DefinePInvokeMethod(String, String, String, MethodAttributes, CallingConventions, Type, Type(), PInvokeMap) As MethodBuilder
[C#] public MethodBuilder DefinePInvokeMethod(String, String, String, MethodAttributes, CallingConventions, Type, Type[], PInvokeMap);
[C++] public: MethodBuilder* DefinePInvokeMethod(String*, String*, String*, MethodAttributes, CallingConventions, Type, Type[], PInvokeMap);
[JScript] public function DefinePInvokeMethod(String, String, String, MethodAttributes, CallingConventions, Type, Type[], PInvokeMap) : MethodBuilder;
NGWS Runtime Security:
ReflectionPermission | SecurityAction.Demand, ReflectionEmit |
ModuleBuilder Class | ModuleBuilder Members | System.Reflection.Emit Namespace