CommandEventArgs.terminationReason Property

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

Description

Gets the termination reason of the command. It's only valid on the destroy event.

Syntax

"commandEventArgs_var" is a variable referencing a CommandEventArgs object.

# Get the value of the property.
propertyValue = commandEventArgs_var.terminationReason
"commandEventArgs_var" is a variable referencing a CommandEventArgs object.
#include <Core/UserInterface/CommandEventArgs.h>

// Get the value of the property.
CommandTerminationReason propertyValue = commandEventArgs_var->terminationReason();

Property Value

This is a read only property whose value is a CommandTerminationReason.

Version

Introduced in version June 2015