Share via


ISettingValue Interface

Definition

The value of a setting.

public interface ISettingValue
type ISettingValue = interface
Public Interface ISettingValue
Derived

Properties

Error

Gets the error that occurred during the retrieval of the setting value. Error is null if the retrieval of the value was successful.

SettingIdentifier

Gets the full identifiers of the setting, including the category it is nested under.

Succeeded

Gets a value indicating whether Error is null, meaning that the retrieval of the setting's value was successful.

Methods

Value<T>()

Gets the value converted to the type T.

ValueOrDefault<T>(T)

Gets the value converted to the type T, if the retrieval and the conversion to T are successful. Returns defaultValue otherwise.

Applies to