| title | ChoiceSetSetting.Update(JsonObject) Method | |||
|---|---|---|---|---|
| description | The Update method updates the setting from a JSON object. | |||
| ms.date | 2/19/2025 | |||
| ms.topic | reference | |||
| no-loc |
|
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
The Update method updates the setting from a JSON object. This is useful for applications that need to apply changes to settings based on user input or other sources.
payload JsonObject
The JsonObject that contains the updated values for the setting. This object should include the properties that need to be updated, such as the name, description, default value, and list of choices.