Skip to main content

RemoveTaskbarGroup

Description​

Removes custom task bar group from the task bar.

NOTE: If the group is shared between multiple applications, it is only removed for the calling application meaning that its commands are removed from the group and the group is no longer available to the calling application. The group remains available for other applications using it. If the group is not shared, it is removed completely.

Supported in M-Files Client version 25.10 and later.

Syntax​

// shellFrame points here into the IShellFrame interface
await shellFrame.Commands.RemoveTaskbarGroup(groupId);

Parameters​

NameOptionalityTypeDescription
groupIdRequirednumberThe ID of the task bar group to remove.

Return type​

TypeDescription
Promise < void >Method does not return a value

Exceptions​

Error - When application GUID is missing or when the task bar group is invalid or not owned by the application.