Click or drag to resize
SettingsKeyInfoProviderGetBoolValueInternal Method (String, String, Boolean)
Returns the boolean value of setting in web.config or value of specified key if setting is not present in web.config file.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
protected virtual bool GetBoolValueInternal(
	string configKey,
	string keyName,
	bool settingDefaultValue
)

Parameters

configKey
Type: SystemString
Web.config key
keyName
Type: SystemString
Name of the setting
settingDefaultValue
Type: SystemBoolean
Default value of the setting when web.config key is missing and database is not available

Return Value

Type: Boolean
Remarks
If the DevelopmentMode is true and if keyName is not found InvalidOperationException is thrown instead.
See Also