Open Rails

SettingsStore.GetSettingStore Method

[This is preliminary documentation and subject to change.]

Factory method to create a setting store (sub-class of SettingsStore)

public static SettingsStore GetSettingStore(
   string filePath,
   string registryKey,
   string section
);

Parameters

filePath
File patht o a .init file, if you want to use a .ini file
registryKey
key to the 'windows' register, if you want to use a registry-based store
section
Name to distinguish between various 'section's used in underlying store.

Return Value

The created SettingsStore

See Also

SettingsStore Class | ORTS.Common Namespace