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
Name | Type | Description |
---|---|---|
commandId | number | The command id. Can be a builtin command, enumerated value or custom command id. |
Return type
Type | Description |
---|---|
Promise < string > | Returns the name of the command. |