ISettingsGetSetting Method (String, String, Boolean)
|
Gets a Boolean setting value.
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax bool 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
- Type: SystemString
Section name - settingName
- Type: SystemString
Setting name within section - defaultValue
- Type: SystemBoolean
Default value to return, in case the setting doesn't exist
Return Value
Type:
BooleanValue of the setting. If the setting doesn't exist, returns default value.
See Also