CommandCreatedEvent.remove Method

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

Description

Removes a handler from this event endpoint.

Syntax

"commandCreatedEvent_var" is a variable referencing a CommandCreatedEvent object.
returnValue = commandCreatedEvent_var.remove(handler)
"commandCreatedEvent_var" is a variable referencing a CommandCreatedEvent object.

#include <Core/UserInterface/CommandCreatedEvent.h>

returnValue = commandCreatedEvent_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 CommandCreatedEventHandler A CommandCreatedEventHandler that was previously added to this event with the add method.

Version

Introduced in version August 2014