Name | Description | |
---|---|---|
m_CurrentStore | The current store | |
m_Path | The current path |
The following tables list the members exposed by Preferences.
Name | Description | |
---|---|---|
m_CurrentStore | The current store | |
m_Path | The current path |
Name | Description | |
---|---|---|
RootStore | Returns the root dictionary of the store. | |
StoreModified | Gets and sets a boolean that indicates that the store has been modified. |
Name | Description | |
---|---|---|
Close | Disposes of any resources. | |
CopyTo | Copies current xml preferences to a new file name and returns a new Preferences object for the file. | |
CreateSubKey | Create or opens a SubKey in the current key and returns it as a new Preferences. | |
DeleteProperty | Deletes a property from the store. | |
DeleteSubKeyTree | Delete the specified subkey and all values and subkeys below it. | |
Dispose | ||
Flush | Flushes changes out to the permanent store. | |
GetBoolean | Gets a value as a boolean | |
GetDouble | Gets a value a a Double | |
GetEnumerator | Returns an IEnumerator to allow a subkey to be enumerated. | |
GetGuid | Gets a value as a Guid | |
GetInt32 | Gets a value as an int | |
GetInt64 | Gets a value as an int64 | |
GetMemoryRoot | Constructs a memory backed Preferences root. | |
GetProperty | Overloaded. Gets a property | |
GetSingle | Gets a value a a Single | |
GetString | Gets a value as a string | |
GetSubnode | Opens a new subnode to store settings under. | |
GetUserNode | Overloaded. Constructs a per-user preferences object from a class. | |
GetUserRoot | Overloaded. Constructs a preferences object at the root of the per-user settings. | |
OpenSubKey | Gets a SubKey in the current key and returns it as a new Preferences. | |
SetProperty | Sets a property |
Name | Description | |
---|---|---|
Deserialize | Overloaded. Deserializes to the userStore hashtable from an isolated storage stream. | |
DictToPreferences | ||
PreferencesFromDict | Create a new Preferences and sets the root dictionary to the one passed. | |
Serialize | Serializes the userStore hashtable to an stream. |