onWorkspaceClose

Read-Write Property of type VARIANT

JavaScript

var Action = ScriptApplication.onWorkspaceClose;
ScriptApplication.onWorkspaceClose = Action;

Visual Basic Script

Action = ScriptApplication.onWorkspaceClose
ScriptApplication.onWorkspaceClose = Action

C++

VARIANT Action;
HRESULT hr = ScriptApplication.get_onWorkspaceClose(&Action);
hr = ScriptApplication.put_onWorkspaceClose(Action);