onDocumentClose

Read-Write Property of type VARIANT

JavaScript

var Action = ScriptApplication.onDocumentClose;
ScriptApplication.onDocumentClose = Action;

Visual Basic Script

Action = ScriptApplication.onDocumentClose
ScriptApplication.onDocumentClose = Action

C++

VARIANT Action;
HRESULT hr = ScriptApplication.get_onDocumentClose(&Action);
hr = ScriptApplication.put_onDocumentClose(Action);