SettingValue<T> Class
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.
The value of a setting.
public sealed class SettingValue<T> : Microsoft.VisualStudio.Extensibility.Settings.ISettingValue
type SettingValue<'T> = class
interface ISettingValue
Public NotInheritable Class SettingValue(Of T)
Implements ISettingValue
Type Parameters
- T
The type of the setting's value.
- Inheritance
-
SettingValue<T>
- Implements
Properties
Error |
Gets the error that occurred during the retrieval of the setting value. Error is |
SettingIdentifier |
Gets the full identifiers of the setting, including the category it is nested under. |
Succeeded |
Gets a value indicating whether Error is |
Value |
Gets the value of the setting. |
Methods
ValueOrDefault(T) |
Gets the value, if the retrieval was successful. Returns |
Explicit Interface Implementations
ISettingValue.SettingIdentifier | |
ISettingValue.Value<TInterface>() |
Gets the value converted to the type |
ISettingValue.ValueOrDefault<TInterface>(TInterface) |
Gets the value converted to the type |