RemoveMenuItem
Description
Removes menuitem from the menu.
Syntax
// shellFrame points here into the IShellFrame interface
await shellFrame.Commands.RemoveMenuItem(menuItemId);
Parameters
| Name | Optionality | Type | Description |
|---|---|---|---|
| menuItemId | Required | number | Id of the MenuItem to remove. |
Return type
| Type | Description |
|---|---|
| Promise < void > | Method does not return a value |