ApplicationCommandEvent.remove Method

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

Description

Removes a handler from this event endpoint.

Syntax

"applicationCommandEvent_var" is a variable referencing an ApplicationCommandEvent object.
returnValue = applicationCommandEvent_var.remove(handler)
"applicationCommandEvent_var" is a variable referencing an ApplicationCommandEvent object.

#include <Core/UserInterface/ApplicationCommandEvent.h>

returnValue = applicationCommandEvent_var->remove(handler);

Return Value

Type Description
boolean Returns true if the handler was found and removed from the set of event handlers.

Parameters

Name Type Description
handler ApplicationCommandEventHandler An ApplicationCommandEventHandler that was previously added to this event with the add method.

Version

Introduced in version November 2015