Click or drag to resize
IsolatedStorageSettings Class
Provides a System.Collections.Generic.Dictionary<TKey,TValue> that stores key-value pairs in isolated storage.
Inheritance Hierarchy

Namespace: System.IO.IsolatedStorage
Assembly: CSharpXamlForHtml5 (in CSharpXamlForHtml5.dll) Version:
public sealed class IsolatedStorageSettings : IEnumerable<KeyValuePair<string, Object>>, 

The IsolatedStorageSettings type exposes the following members.

Public methodAdd
Adds an entry to the dictionary for the key-value pair.
Public methodClear
Resets the count of items stored in System.IO.IsolatedStorage.IsolatedStorageSettings to zero and releases all references to elements in the collection.
Public methodContains
Determines if the application settings dictionary contains the specified key.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetEnumerator
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRemove
Removes the entry with the specified key.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValueT
Gets a value for the specified key.
Public propertyStatic memberApplicationSettings
Gets an instance of System.IO.IsolatedStorage.IsolatedStorageSettings that contains the contents of the application's System.IO.IsolatedStorage.IsolatedStorageFile, scoped at the application level, or creates a new instance of System.IO.IsolatedStorage.IsolatedStorageSettings if one does not exist.
Public propertyCount
Gets the number of key-value pairs that are stored in the dictionary.
Public propertyItem
Gets or sets the value associated with the specified key.
Public propertyKeys
Gets a collection that contains the keys in the dictionary.
Public propertyValues
Gets a collection that contains the values in the dictionary.
Here is how to use the IsolatedStorageSettings:
//Write in the IsolatedStorageSettings:
IsolatedStorageSettings.ApplicationSettings["someKey"] = "someValue";
//Read from it:
string value;
string myString = IsolatedStorageSettings.ApplicationSettings.TryGetValue("someKey", out value);
See Also