Friday, May 28, 2010

Using Silverlight Isolated Storage

To store string data in Isolated Storage:

IsolatedStorageSettings.ApplicationSettings.Add("KeyName",
    Value);

To remove:

if (IsolatedStorageSettings.ApplicationSettings.Contains("KeyName"))
    IsolatedStorageSettings.ApplicationSettings.Remove("KeyName");

No comments:

Post a Comment