SettingsSectionGetOrAdd Method
Gets the value of the setting with the specified key, if it exists;
otherwise, the default value for the parameter.
Namespace: Gemstone.ConfigurationAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.166 -- Release Build+d3cb24a90fe44346300dfbb17444d7b350f42d79
function GetOrAdd(key, defaultValue, description, switchMappings);
- key String
- Key name of setting to get, case-insensitive.
- defaultValue Object
- Default value if key does not exist.
- description String
- Description of the setting.
- switchMappings String (Optional)
- Optional array of switch mappings for the setting.
Object
Value of the setting with the specified key, if it exists; otherwise,
the default value for the parameter.