CustomEvent.remove Method

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

Description

Removes a handler from the event.

Syntax

"customEvent_var" is a variable referencing a CustomEvent object.
returnValue = customEvent_var.remove(handler)
"customEvent_var" is a variable referencing a CustomEvent object.

#include <Core/Application/CustomEvent.h>

returnValue = customEvent_var->remove(handler);

Return Value

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

Parameters

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

Version

Introduced in version January 2017