var instance = new GC.Spread.Commands.CommandManager(context); var value; // Type: boolean value = instance.execute(commandOptions, commandOptions.cmd, commandOptions.arg1, commandOptions.arg2, commandOptions.argN);
function execute( commandOptions : Object, commandOptions.cmd : string, (optional) commandOptions.arg1 : Object, (optional) commandOptions.arg2 : Object, (optional) commandOptions.argN : Object ) : boolean;
Parameters
- commandOptions
- The options for the command.
- commandOptions.cmd
- The command name, the field is required.
- commandOptions.arg1
- The command argument, the name and type are decided by the command definition.
- commandOptions.arg2
- The command argument, the name and type are decided by the command definition.
- commandOptions.argN
- The command argument, the name and type are decided by the command definition.
Return Value
The execute command result.