CommandEventArgs.command Property

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

Description

Gets the Command object.

Syntax

"commandEventArgs_var" is a variable referencing a CommandEventArgs object.

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

// Get the value of the property.
Ptr<Command> propertyValue = commandEventArgs_var->command();

Property Value

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

Version

Introduced in version August 2014