| title |
MatchResult Class |
| description |
The MatchResult class is used to represent the result of a match operation in the Command Palette Extensions Toolkit. |
| ms.date |
2/26/2025 |
| ms.topic |
reference |
| no-loc |
PowerToys |
Windows |
Insider |
|
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
The MatchResult class is used to represent the result of a match operation in the Command Palette Extensions Toolkit. It contains information about whether the match was successful, the score of the match, and any additional data related to the match.
| Property |
Type |
Description |
| MatchData |
List<Integer> |
A list of integers representing the match data. |
| RawScore |
Integer |
The raw score of the match. |
| Score |
Integer |
The score of the match. |
| SearchPrecision |
SearchPrecisionScore |
The precision score of the match. |
| Success |
Boolean |
A boolean value indicating whether the match was successful. |