Description

Exit the application.

Return Type

None  

Syntax

object.Exit

The Exit Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McApplication.

Remarks

Calling this method does not force the application to close as the user will be prompted to save any exiting modified document or to cancel. Furthermore the actual unloading of the application, will only happen once all object references have been released.