SetTaskbarGroupIcon
Description
Sets the icon for a custom task bar group.
Supported in M-Files Client version 25.10 and later.
Syntax
// shellFrame points here into the IShellFrame interface
const result = await shellFrame.Commands.SetTaskbarGroupIcon(
groupId,
iconInformation,
);
Parameters
| Name | Optionality | Type | Description |
|---|---|---|---|
| groupId | Required | number | The task bar group id. |
| iconInformation | Required | IIconInformation | The icon information. |
Return type
| Type | Description |
|---|---|
Promise < void > |
Exceptions
NotSupportedError - When task bar feature support is not enabled.
ArgumentError - When groupId or iconInformation is null or undefined.
NotFoundError - When the group is not found.
Error - When icon assignment fails.