GetMenuIdOfBuiltInCommand
Description
Gets the MenuItem ID of a built-in command by its command ID and location.
Syntax
// shellFrame points here into the IShellFrame interface
const result = await shellFrame.Commands.GetMenuIdOfBuiltInCommand(
  commandId,
  commandLocation,
);
Parameters
| Name | Optionality | Type | Description | 
|---|---|---|---|
| commandId | Required | number | The unique identifier for the command. | 
| commandLocation | Required | CommandLocation | The location where the command is placed. | 
Return type
| Type | Description | 
|---|---|
Promise < number > | The UI ID of the built-in command if found, otherwise throw 'Not Found' error. |