SetMenuItemState
Description
Sets the MenuItem state individually.
Syntax
// shellFrame points here into the IShellFrame interface
await shellFrame.Commands.SetMenuItemState(menuItemId, state);
Parameters
Name | Type | Description |
---|---|---|
menuItemId | number | Menuitem to enable. |
state | CommandState | State to set to the item. |
Return type
Type | Description |
---|---|
Promise < void > | Method does not return a value |