Storage

Windows Phone 7.1



The Windows Phone 7.1 storage helper is used to serialize classes into XML data files for save/load operations, saved to Windows Phone 7.1 store.

The storage helper created from this code check-in uses the isolated-file-storage class. This class is contained within Windows Phone 7.1 SDK.


To use the load/save operations, the consuming class must be properly decorated with Microsoft's serialization attributes. For example, to use the XML load and save methods, the consumed class must have the data-contract and data-member attributes applied. Using these attributes on the consumed class gives you the ability to control which properties are serializable for the load and save operations.


Note: Any future Windows Phone 8 helpers will use the storage-file class which only comes with Windows Phone 8 SDK.