| ISettingsGroupGetSettingT Method (String) |
Gets the setting with the specified id.
Namespace: Sdl.Core.SettingsAssembly: Sdl.Core.Settings (in Sdl.Core.Settings.dll) Version: 1.8.0.0 (1.8.2564.0)
SyntaxSetting<T> GetSetting<T>(
string id
)
Function GetSetting(Of T) (
id As String
) As Setting(Of T)
generic<typename T>
Setting<T>^ GetSetting(
String^ id
)
abstract GetSetting :
id : string -> Setting<'T>
Parameters
- id
- Type: SystemString
The id of the setting.
Type Parameters
- T
- The type of the setting value.
Return Value
Type:
SettingTThe setting.
RemarksWhen no value is defined in the settings group itself, the parent chain is searched
for an inherited value. If no inherited value can be found, the default value provided by the settings group implementation is returned.
See Also
Comments