SettingsSectionDefine Method

Defines a setting for the section.

Definition

Namespace: Gemstone.Configuration
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.138 -- Release Build+dacff88cce10d287c7434d5aac59c76948c712b1
public void Define(
	string key,
	Object? defaultValue,
	string description,
	string[]? switchMappings = null
)

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.

See Also