Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 802 Bytes

File metadata and controls

19 lines (13 loc) · 802 Bytes
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
PowerToys
Windows
Insider

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.