In the Windows Store application, I can store WinRT types in ApplicationSettings, according to the documentation. For moved settings that should be held together, I can use ApplicationDataCompositeValue. An attempt to save an instance of its own class or structure throws an exception with the message "WinRT information: an error occurred while trying to serialize the value that should be written to the application data store. Additional information: data of this type is not supported." The term "serialization attempt" indicates that the application data type API must be serialized in some way.
Does anyone know how I could achieve this?
I tried serializing a DataContract, but that didn't work.
windows-8 windows-store-apps windows-runtime configuration
JΓΌrgen bayer
source share