| title | TextSetting Constructors | |||
|---|---|---|---|---|
| description | The TextSetting class constructors allow you to create instances of the class with different parameters. | |||
| ms.date | 2/26/2025 | |||
| ms.topic | reference | |||
| no-loc |
|
The TextSetting class has constructors that allow you to create instances of the class with different parameters.
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
Initializes a new instance of the TextSetting class with a key and a defaultValue.
public TextSetting(string key, string defaultValue)
: base(key, defaultValue)
{
}key String
The unique identifier for the setting.
defaultValue String
The default value for the setting.
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
Initializes a new instance of the TextSetting class with a key, label, description, and defaultValue.
public TextSetting(string key, string label, string description, string defaultValue)
: base(key, label, description, defaultValue)
{
}key String
The unique identifier for the setting.
label String
The display name of the setting.
description String
The description of the setting.
defaultValue String
The default value for the setting.