IVsaEngine.Compile Method

Definition

Causes the script engine to compile the existing source state.

public:
 bool Compile();
public bool Compile ();
abstract member Compile : unit -> bool
Public Function Compile () As Boolean

Returns

true on successful compilation, indicating that the Run() method can be called on the newly compiled assembly. false if the compilation failed.

Applies to