Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Definition
Namespace: Microsoft.CommandPalette.Extensions.Toolkit
The GetSetting method retrieves the value of a specific setting from the command palette extension. This method is used to access the settings defined in the command palette extension's configuration.
Parameters
key String
The key of the setting to retrieve. This should match the key used when the setting was defined in the command palette extension.
Returns
An object of type T representing the value of the setting. The type T should match the type of the setting defined in the command palette extension's configuration. If the setting does not exist or cannot be converted to the specified type, an exception may be thrown.
Windows developer