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: 8.2.23
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
See Also