Skip to main content

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

NameOptionalityTypeDescription
customCommandRequirednumberThe custom command id.
iconInformationRequiredIIconInformationThe icon information.

Return type

TypeDescription
Promise < void >