Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 785 Bytes

File metadata and controls

19 lines (13 loc) · 785 Bytes
title Setting.ToState() Method
description 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.
ms.date 2/19/2025
ms.topic reference
no-loc
PowerToys
Windows
Insider

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.