Click or drag to resize
SettingsKeyInfoProviderGetIntValueInternal Method (String, String, Int32, SiteInfoIdentifier)
Returns the integer 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: 10.0.0
Syntax
C#
protected virtual int GetIntValueInternal(
	string configKey,
	string keyName,
	int settingDefaultValue,
	SiteInfoIdentifier siteIdentifier
)

Parameters

configKey
Type: SystemString
Web.config key
keyName
Type: SystemString
Key name
settingDefaultValue
Type: SystemInt32
Default value of the setting when web.config key is missing and database is not available
siteIdentifier
Type: CMS.DataEngineSiteInfoIdentifier
Site identifier (site ID or site name), see SiteInfoIdentifier and InfoIdentifier for more information

Return Value

Type: Int32
See Also