ISettingsGetSetting(String, String, Boolean) Method
|
Gets a Boolean setting value.
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntaxbool GetSetting(
string sectionName,
string settingName,
bool defaultValue
)
Function GetSetting (
sectionName As String,
settingName As String,
defaultValue As Boolean
) As Boolean
bool GetSetting(
String^ sectionName,
String^ settingName,
bool defaultValue
)
abstract GetSetting :
sectionName : string *
settingName : string *
defaultValue : bool -> bool Parameters
- sectionName String
- Section name
- settingName String
- Setting name within section
- defaultValue Boolean
- Default value to return, in case the setting doesn't exist
Return Value
BooleanValue of the setting. If the setting doesn't exist, returns default value.
See Also