Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Definition
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
The Invoke method is used to execute the command associated with the InvokableCommand instance. This method is typically called when the command is triggered by the user. Keeps the command palette open after the command is invoked.
Returns
A CommandResult.KeepOpen() object that indicates the command palette should remain open after the command is executed. This allows the user to continue interacting with the command palette without having to reopen it.
Windows developer