Edit

CommandProvider.TopLevelCommands() Method

Definition

Namespace: Microsoft.CommandPalette.Extensions.Toolkit

The TopLevelCommands method returns the top-level commands for the command provider. These commands are typically displayed in the command palette and can be executed by the user.

Returns

An ICommandItem[] array containing the top-level commands for the command provider. If there are no top-level commands, an empty array is returned.