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