Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 931 Bytes

File metadata and controls

25 lines (16 loc) · 931 Bytes
title InvokableCommand.Invoke(Object) Method
description The Invoke method executes the command associated with the InvokableCommand instance and keeps the command palette open, accepting an object as a parameter.
ms.date 2/11/2025
ms.topic reference
no-loc
PowerToys
Windows
Insider

InvokableCommand.Invoke(Object) Method

Definition

Namespace: Microsoft.CommandPalette.Extensions.Toolkit

This method executes the command associated with the InvokableCommand instance and keeps the command palette open.

Parameters

sender Object

The object that is invoking the command. This parameter can be used to pass additional context or data to the command being executed. It can be any object type, depending on the specific implementation of the command.

Returns

An InvokableCommand.Invoke().