ApplicationCommandEventArgs.terminationReason Property

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

Description

Returns the reason the command is being terminated. This property should be ignored for all events besides the commandTerminated event.

Syntax

"applicationCommandEventArgs_var" is a variable referencing an ApplicationCommandEventArgs object.

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

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

Property Value

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

Version

Introduced in version November 2015