Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1018 Bytes

File metadata and controls

26 lines (18 loc) · 1018 Bytes
title InvokableCommand Class
description The InvokableCommand class is a specialized command that can be invoked directly from the command palette.
ms.date 2/11/2025
ms.topic reference
no-loc
PowerToys
Windows
Insider

InvokableCommand Class

Definition

Namespace: Microsoft.CommandPalette.Extensions.Toolkit

Inherits Command

Implements IInvokableCommand

The InvokableCommand class is a specialized command that can be invoked directly from the command palette. It provides a way to execute commands without requiring additional user input or confirmation.

Methods

Method Description
Invoke() Keeps the command palette open after the command is invoked.
Invoke(Object) Keeps the command palette open after the command is invoked with an object parameter.