ICscHostObject.SetMainEntryPoint(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the location of the Main
method.
public:
bool SetMainEntryPoint(System::String ^ targetType, System::String ^ mainEntryPoint);
public bool SetMainEntryPoint (string targetType, string mainEntryPoint);
abstract member SetMainEntryPoint : string * string -> bool
Public Function SetMainEntryPoint (targetType As String, mainEntryPoint As String) As Boolean
Parameters
- targetType
- String
The file format of the output file. This value can be library
, exe
, module
, or winexe
.
- mainEntryPoint
- String
The location of the Main
method.
Returns
true
if the method was successful; otherwise, false
.