ApplicationCommandEventArgs.commandId Property

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

Description

Returns the unique id of the command the event if being fired for.

Syntax

"applicationCommandEventArgs_var" is a variable referencing an ApplicationCommandEventArgs object.

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

// Get the value of the property.
string propertyValue = applicationCommandEventArgs_var->commandId();

Property Value

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

Version

Introduced in version November 2015