Click or drag to resize
SettingsKeyInfoProviderGetBoolValueInternal Method (String, SiteInfoIdentifier)
Returns the boolean value of the specified key from the database or false if not found.

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

Parameters

keyName
Type: SystemString
Key name
siteIdentifier
Type: CMS.DataEngineSiteInfoIdentifier
Site identifier (site ID or site name), see SiteInfoIdentifier and InfoIdentifier for more information

Return Value

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