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
| Name | Optionality | Type | Description |
|---|---|---|---|
| customCommand | Required | number | The command id to delete. The command must be a custom command. |
Return type
| Type | Description |
|---|---|
| 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.