SetIcon
Description
Sets the icon for a custom command.
NOTE: Stability is experimental. Non-backward compatible changes or removal may occur in any future release. Use of this feature is not recommended for production environments.
Syntax
// shellFrame points here into the IShellFrame interface
const result = await shellFrame.Commands.SetIcon(
  customCommand,
  iconInformation,
);
Parameters
| Name | Optionality | Type | Description | 
|---|---|---|---|
| customCommand | Required | number | The custom command id. | 
| iconInformation | Required | IIconInformation | The icon information. | 
Return type
| Type | Description | 
|---|---|
Promise < void > |