DocumentEvent.remove Method

Parent Object: DocumentEvent
Defined in namespace "adsk::core" and the header file is <Core/Application/DocumentEvent.h>

Description

Removes a handler from the event.

Syntax

"documentEvent_var" is a variable referencing a DocumentEvent object.
returnValue = documentEvent_var.remove(handler)
"documentEvent_var" is a variable referencing a DocumentEvent object.

#include <Core/Application/DocumentEvent.h>

returnValue = documentEvent_var->remove(handler);

Return Value

Type Description
boolean Returns true if removal of the handler was successful.

Parameters

Name Type Description
handler DocumentEventHandler The handler object to be removed from the event.

Version

Introduced in version August 2014