| title | CommandProvider.TopLevelCommands() Method | |||
|---|---|---|---|---|
| description | The TopLevelCommands method returns the top-level commands for the command provider. | |||
| ms.date | 2/25/2025 | |||
| ms.topic | reference | |||
| no-loc |
|
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.
An ICommandItem[] array containing the top-level commands for the command provider. If there are no top-level commands, an empty array is returned.