onCanCloseApplication

Read-Write Property of type VARIANT

JavaScript

var Action = ScriptApplication.onCanCloseApplication;
ScriptApplication.onCanCloseApplication = Action;

Visual Basic Script

Action = ScriptApplication.onCanCloseApplication
ScriptApplication.onCanCloseApplication = Action

C++

VARIANT Action;
HRESULT hr = ScriptApplication.get_onCanCloseApplication(&Action);
hr = ScriptApplication.put_onCanCloseApplication(Action);