Click or drag to resize
SettingsKeyInfoProviderGetBoolValue 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#
public static bool GetBoolValue(
	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