Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 945 Bytes

File metadata and controls

19 lines (13 loc) · 945 Bytes
title Setting.ToDictionary() Method
description The ToDictionary method converts the setting to a dictionary. This method is used to create a dictionary object that represents the current value of the setting.
ms.date 2/19/2025
ms.topic reference
no-loc
PowerToys
Windows
Insider

Setting.ToDictionary() Method

Definition

Namespace: Microsoft.CommandPalette.Extensions.Toolkit

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

Returns

A Dictionary<String, Object> that represents the current value of the setting. The dictionary contains the key-value pairs that represent the current value of the setting.