O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Application Settings

Saving objects in persistent state is such a common task that the isolated storage API includes an IDictionary<string, object> class named IsolateStorageSettings that is automatically persisted to isolated storage when your app is closed or tombstoned. IsolateStorageSettings is a convenient way to store global application state (see Figure 28.2).

Image

FIGURE 28.2 An app’s IsolatedStorageSettings instance is retrieved using the IsolatedStorageSettings.ApplicationSettings property.

IsolateStorageSettings is a singleton, accessible via the IsolatedStorageSettings.ApplicationSettings property. The ApplicationSettings property can ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required