SettingsKeyInfoProviderGetBoolValue Method (SettingsKeyName) |
Returns the boolean value of the specified key from the database or false if not found.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax public static bool GetBoolValue(
SettingsKeyName keyName
)
Parameters
- keyName
- Type: CMS.DataEngineSettingsKeyName
Key name in format "[site name].[key name]" for site setting or "[key name]" for global setting, see SettingsKeyName for more information
Return Value
Type:
BooleanSee Also