| title | FallbackCommandItem.UpdateQuery(String) Method | |||
|---|---|---|---|---|
| description | The UpdateQuery method updates the query string for the command item. | |||
| ms.date | 2/25/2025 | |||
| ms.topic | reference | |||
| no-loc |
|
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
The UpdateQuery method updates the query string for the command item. This method is used to modify the query that is used to filter the command items in the command palette.
query String
The query string that will be used to filter the command items. The query parameter is used to match against the command item's name and other properties to determine if it should be displayed in the command palette.