Click or drag to resize
FileTypeSettingsBaseGetSettingFromSettingsGroupT Method
Checks whether the setting exists in the settings group, and retrieves its value (if it exists). If it does not exist, the default value is returned instead.

Namespace: Sdl.FileTypeSupport.Framework.Core.Settings
Assembly: Sdl.FileTypeSupport.Framework.Core.Settings (in Sdl.FileTypeSupport.Framework.Core.Settings.dll) Version: 1.0.0.0 (1.0.2551.2)
Syntax
protected T GetSettingFromSettingsGroup<T>(
	ISettingsGroup settingsGroup,
	string settingName,
	T defaultValue
)

Parameters

settingsGroup
Type: Sdl.Core.SettingsISettingsGroup
The settings group in which the setting should be located.
settingName
Type: SystemString
The name of the setting to retrieve.
defaultValue
Type: T
The default value to return if the setting has not been found.

Type Parameters

T
The type of the setting to retrieve. The type must be the same as at the point of save, or it will not be found. See UpdateSettingInSettingsGroupT(ISettingsGroup, String, T, T).

Return Value

Type: T

[Missing <returns> documentation for "M:Sdl.FileTypeSupport.Framework.Core.Settings.FileTypeSettingsBase.GetSettingFromSettingsGroup``1(Sdl.Core.Settings.ISettingsGroup,System.String,``0)"]

See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments