Skip to main content

GetCommandName

Description

Resolves the name that has been associated with the given command id.

Syntax

// shellFrame points here into the IShellFrame interface
const result = await shellFrame.Commands.GetCommandName(commandId);

Parameters

NameTypeDescription
commandIdnumberThe command id. Can be a builtin command, enumerated value or custom command id.

Return type

TypeDescription
Promise < string >Returns the name of the command.