Sets the entry point of the module to the given method.
Sets the entry point of the module to the given method given the type of the PE file.
[Visual Basic] Overloads Public Sub SetEntryPoint(MethodInfo, PEFileKinds)
[C#] public void SetEntryPoint(MethodInfo, PEFileKinds);
[C++] public: void SetEntryPoint(MethodInfo*, PEFileKinds);
[JScript] public function SetEntryPoint(MethodInfo, PEFileKinds);
Sets the entry point of the module to the given method.
[Visual Basic] Overloads Public Sub SetEntryPoint(MethodInfo)
[C#] public void SetEntryPoint(MethodInfo);
[C++] public: void SetEntryPoint(MethodInfo*);
[JScript] public function SetEntryPoint(MethodInfo);
NGWS Runtime Security:
ReflectionPermission | SecurityAction.Demand, ReflectionEmit |
ModuleBuilder Class | ModuleBuilder Members | System.Reflection.Emit Namespace