Click or drag to resize
SettingsKeyInfoProviderGetValue Method (SettingsKeyName)
Returns value of the specified key from the database or "" if not found.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public static string GetValue(
	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: String
Returns "" if the key does not exist
See Also