This page contains reference documentation for the Exit function. This function engages application shutdown.
int Exit()
Examples are as follows:
Application.Exit();
For sample code: