ISettingsGetSetting Method (String, String, Int32)
|
Gets a integer setting value.
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax int GetSetting(
string sectionName,
string settingName,
int defaultValue
)
Function GetSetting (
sectionName As String,
settingName As String,
defaultValue As Integer
) As Integer
int GetSetting(
String^ sectionName,
String^ settingName,
int defaultValue
)
abstract GetSetting :
sectionName : string *
settingName : string *
defaultValue : int -> int
Parameters
- sectionName
- Type: SystemString
Section name - settingName
- Type: SystemString
Setting name within section - defaultValue
- Type: SystemInt32
Default value to return, in case the setting doesn't exist
Return Value
Type:
Int32Value of the setting. If the setting doesn't exist, returns default value.
See Also