O'Reilly logo

Windows Phone 8 Application Development Essentials by Tomasz Szostak

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

The Settings API

Windows Phone SDK provides the ability to save some content in application storage. Application settings could be understood as a key-value pair that is saved within isolated storage. Settings API provides a class called IsolatedStorageSettings, and this mechanism is the best option to store some small pieces of data such as settings or application state. IsolatedStorageSettings is a kind of dictionary (a list of key and value properties) that contains unique keys and its values. The stored value is an object type, so we can store whatever we want there; just ensure you cast the proper class when getting it from the storage settings.

There are three methods that are used most often while dealing with settings:

  • Contains: This returns ...

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