SettingsSectionDefine Method
Defines a setting for the section.
Namespace: Gemstone.ConfigurationAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public void Define(
string key,
Object? defaultValue,
string description,
string[]? switchMappings = null
)
Public Sub Define (
key As String,
defaultValue As Object,
description As String,
Optional switchMappings As String() = Nothing
)
public:
void Define(
String^ key,
Object^ defaultValue,
String^ description,
array<String^>^ switchMappings = nullptr
)
function Define(key, defaultValue, description, switchMappings);
Parameters
- 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.