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