Edit

Setting.ToState() Method

Definition

Namespace: Microsoft.CommandPalette.Extensions.Toolkit

The ToState method converts the setting to a state. This method is used to create a state object that represents the current value of the setting. The state object can be used to store the current value of the setting in a format that can be easily serialized and deserialized.

Returns

A String that represents the current value of the setting.