ISettingsService.GetSettingAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves a setting by name (case insensitive); returns null if the setting does not exist.
public:
System::Threading::Tasks::Task<Microsoft::VisualStudio::Settings::SerializedSetting ^> ^ GetSettingAsync(System::String ^ settingName);
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Settings.SerializedSetting> GetSettingAsync (string settingName);
abstract member GetSettingAsync : string -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Settings.SerializedSetting>
Public Function GetSettingAsync (settingName As String) As Task(Of SerializedSetting)
Parameters
- settingName
- String
The setting name (case insensitive)
Returns
Exceptions
Thrown when this is called before InitAsync(String, Boolean, Int32, Guid, String).