1

我已经阅读了如何将数据保存到隔离存储中的教程,但它们展示了如何将文本或 XML 数据放在那里。我只想将原始对象保存在存储中(确切地说List<Tuning> list)然后读取它。Tuning只是一个类。

怎么做?我正在使用 C#。

4

1 回答 1

3

It isn't possible to persist an object in isolated storage. How would your program know how to put / get data in an organized way?.

You need to serialize your objects into a format that you can write to and read from storage.

You said you have read tutorials, but here is another one that may help serializing your class.

于 2013-01-04T20:29:21.917 回答