Click or drag to resize
Galactic API

ConfigurationItem Constructor

Loads a configuration item with the specified name from its file located in a folder at the supplied path.

Namespace:  Galactic.Configuration
Assembly:  Galactic.Configuration (in Galactic.Configuration.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public ConfigurationItem(
	string folderPath,
	string name,
	bool encrypted,
	string value = null,
	EventLog log = null,
	bool readOnly = true
)

Parameters

folderPath
Type: SystemString
The path of the folder containing the configuration item.
name
Type: SystemString
The name of the configuration item.
encrypted
Type: SystemBoolean
Whether to store the item in an encrypted format.
value (Optional)
Type: SystemString
(Optional) The value of the configuration item. (Supplying a null value will retrieve the value stored in the item if it already exists).
log (Optional)
Type: Galactic.EventLogEventLog
(Optional) The event log to log exceptions to. May be null for no logging.
readOnly (Optional)
Type: SystemBoolean
Whether the configuration item should be opened for reading only. Default: true
See Also