Skip to main content

DeleteCustomCommand

Description​

Deletes a custom command. The command is automatically removed.

Syntax​

// shellFrame points here into the IShellFrame interface
await shellFrame.Commands.DeleteCustomCommand(customCommand);

Parameters​

NameOptionalityTypeDescription
customCommandRequirednumberThe command id to delete. The command must be a custom command.

Return type​

TypeDescription
Promise < void >Method does not return a value

Exceptions​

ArgumentError - When customCommand is null or undefined.

NotFoundError - When the command is not found or access is denied.