Partager via


IVbcHostObject.SetMainEntryPoint(String) Method

Definition

Specifies the class or module that contains the location of the Sub Main procedure.

public:
 bool SetMainEntryPoint(System::String ^ mainEntryPoint);
public bool SetMainEntryPoint (string mainEntryPoint);
abstract member SetMainEntryPoint : string -> bool
Public Function SetMainEntryPoint (mainEntryPoint As String) As Boolean

Parameters

mainEntryPoint
String

The class or module that contains the location of the Sub Main procedure.

Returns

true if the method was successful; otherwise, false.

Applies to