SetEntryPoint Method

AssemblyBuilder.SetEntryPoint Method

Sets the entry point for this dynamic assembly.

Overload List

Sets the entry point for this dynamic assembly, assuming that a console application is being built.

[Visual Basic] Overloads Public Sub SetEntryPoint(MethodInfo)
[C#] public void SetEntryPoint(MethodInfo);
[C++] public: void SetEntryPoint(MethodInfo*);
[JScript] public function SetEntryPoint(MethodInfo);

Sets the entry point for this assembly and defines the type of the PE being built.

[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);

See Also

AssemblyBuilder Class | AssemblyBuilder Members | System.Reflection.Emit Namespace

Show:
© 2016 Microsoft