| 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 |
|
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
This method executes the command associated with the InvokableCommand instance and keeps the command palette open.
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.