要求されたページは選択されたバージョンでは利用できない。
GetSetting
Syntax
string GetSetting(string settingName, string settingType, string defaultValue)
Description
Retrieve the current value of a user-defined setting or a built-in setting.
Parameters
settingName
Name of a built-in or user-defined setting.
settingType
Type of this setting.
Allowable values:
- built-in
- user defined
defaultValue
Default value to be returned if the setting has no value. (See Notes)
Return Value
String containing current value of the specified setting or, in the event that the setting is empty, the value of the defaultValue.
Notes
- defaultValue parameter: If the specified setting already has a defined value, this parameter has no effect. While a value is optional, you must at least specify an empty string. For example: GetSetting(“language”, “user defined”, “”)
Related concepts