| RuntimeManagerGetMainProcedure Method |
Gets the main procedure. The main procedure is the procedure with the name "main" (case sensitive).
Namespace:
OpenTestSystem.Otx.Runtime.Api
Assembly:
OpenTestSystem.Otx.Runtime.Api (in OpenTestSystem.Otx.Runtime.Api.dll) Version: 5.5.0.0 (6.1.0.31040)
Syntax public IProcedure GetMainProcedure()
Public Function GetMainProcedure As IProcedure
public:
virtual IProcedure^ GetMainProcedure() sealed
Return Value
Type:
IProcedureThe main procedure if existing otherwise null.
Implements
IRuntimeManagerGetMainProcedureExceptions Examples
Gets main procedure.
static class Program
{
static void Main()
{
RuntimeManager rt = new RuntimeManager();
rt.Load("C:\\Sample.ptx");
IProcedure procedure = rt.GetMainProcedure();
}
}
See Also