Click or drag to resize
DebugHelperGetDebugBoolSetting Method (String, Boolean, Boolean)
Returns logical or of setting in web.config and setting.

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 8.2.23
Syntax
C#
public static bool GetDebugBoolSetting(
	string keyName,
	bool defaultValue,
	bool checkDisabled = true
)

Parameters

keyName
Type: SystemString
Name of the setting
defaultValue
Type: SystemBoolean
Default value of the web.config setting
checkDisabled (Optional)
Type: SystemBoolean
If true, the disabled setting is checked for this setting

Return Value

Type: Boolean
See Also