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 UpdateSearchText method is used to update the search text for the dynamic list page. This allows the extension to modify the search criteria dynamically based on user interactions or other events.
Parameters
oldSearch String
The previous search text that was used for filtering the list items. This parameter is useful for determining what has changed in the search criteria.
newSearch String
The new search text that will be used for filtering the list items. This parameter represents the updated search criteria that should be applied to the list of items displayed in the command palette.
Windows developer