Application can store any objects here that last while program is terminated. You have to always save by using Save() or modifications do not take place in storage. USE KEYS DEFINED HERE AS PUBLIC CONSTS.
More...
|
const String | GUID = "guid" |
|
const String | ISGPSENABLED = "isGpsEnabled" |
|
const String | FONTSIZE = "fontSize" |
|
const String | STREETADDRESS = "streetName" |
|
const String | POSTALCODE = "postalCode" |
|
const String | LOCALITY = "locality" |
|
const String | OWNERNAME = "ownerName" |
|
const String | PHONENUMBERS = "phoneNumbers" |
|
const String | CONNECTION = "connection" |
|
const String | SELECTEDCULTURE = "selectedCulture" |
|
Application can store any objects here that last while program is terminated. You have to always save by using Save() or modifications do not take place in storage. USE KEYS DEFINED HERE AS PUBLIC CONSTS.
void AddOrUpdateValue |
( |
string |
Key, |
|
|
Object |
value |
|
) |
| |
Update a setting value for our application. If the setting does not exist, then add the setting.
- Parameters
-
Key | Key is string like search parameter that is used to store object |
value | The object that you like to store |
- Returns
- True if value is changed and false if not
T GetValueOrDefault< T > |
( |
string |
Key, |
|
|
T |
defaultValue |
|
) |
| |
Get the current value of the setting, or if it is not found, set the setting to the default setting.
- Template Parameters
-
- Parameters
-
Key | Key for searching item |
defaultValue | If item is not found returns this |
- Returns
bool RemoveSetting |
( |
String |
key | ) |
|
Removes setting using given key.
- Parameters
-
- Returns
- True if succesful.
The documentation for this class was generated from the following file: