Settings (gb.settings)
This class can be used like an object by creating a hidden instance on demand.
This class is
creatable.
This class acts like a
read /
write array.
Static properties
DefaultDir
|
This property returns the default directory where settings configuration files are stored.
|
Static methods
FromString
|
Return a value from its settings internal string representation
|
ToString
|
Convert a value into its settings internal string representation
|
Properties
Count
|
Return the number of entries in the settings file
|
Keys
|
Return a virtual object used for enumerating all the keys used by the setting file.
|
Path
|
Return the path of the setting file.
|
Methods
Clear
|
Clears all settings.
|
Exist
|
Return if the specified settings key has a value
|
Read
|
Initializes the specified object from the settings file.
|
Reload
|
Cancels all settings changes, by reloading the settings file.
|
Save
|
Saves the configuration file to the disk.
|
Write
|
Writes the settings of the specified object in the settings file.
|