Method | Description | |
---|---|---|
Read ( string property, object defaultValue ) : object | ||
Read ( string subpath, string property, object defaultValue ) : object |
Read from a settings store
|
|
SettingsStore ( WritableSettingsStore store, string root ) : System.IO | ||
Write ( string property, object value ) : void | ||
Write ( string subpath, string property, object value ) : void |
public Read ( string property, object defaultValue ) : object | ||
property | string | |
defaultValue | object | |
return | object |
public Read ( string subpath, string property, object defaultValue ) : object | ||
subpath | string | The subcollection path (appended to the path passed to the constructor) |
property | string | The property name to read |
defaultValue | object | The default value to use in case the property doesn't exist. /// The type of the default value will be used to figure out the proper way to read the property, so if pass null, /// the property will be read as a string (which may or may not be what you want) |
return | object |
public SettingsStore ( WritableSettingsStore store, string root ) : System.IO | ||
store | WritableSettingsStore | |
root | string | |
return | System.IO |
public Write ( string property, object value ) : void | ||
property | string | |
value | object | |
return | void |
public Write ( string subpath, string property, object value ) : void | ||
subpath | string | |
property | string | |
value | object | |
return | void |