【问题标题】:isolated storage for windows phone 8?windows phone 8 的独立存储?
【发布时间】:2012-11-16 00:56:42
【问题描述】:

我需要为我的 windows phone 应用程序创建隔离存储,它是一个商业应用程序,可以显示你所有的商业文件,从那里你可以拒绝和接受商业文件,现在我的问题是我不知道在哪里从隔离存储开始?我已经通过谷歌,但它没有任何意义,所以如果有人可以给我一个链接或教程,那将是很棒的,我怎样才能在我的 app.xaml 文件中制作隔离存储,这样我就可以使用它了再来一遍?

this is the link that gave me basic understanding , but it is all on buttonclick?

【问题讨论】:

标签: isolatedstorage windows-phone-8


【解决方案1】:

公共静态IsolatedStorageSettings appSetting = IsolatedStorageSettings.ApplicationSettings;

如果 (appSetting.Keys.Count == 0) appSetting.Add("key",value);

如果 (appSetting.Keys.Count > 0) appSetting.Remove("教师");

if (appSetting.Contains("key"))

...

【讨论】:

    【解决方案2】:

    你试过 IsoStoreSpy 吗?它同时支持WP7和WP8

    它也适用于我的 WP8 模拟器

    请看这里http://isostorespy.codeplex.com/

    【讨论】:

      【解决方案3】:

      isoloated storage file 的 msdn 页面上有一个非常全面的示例。如果您需要仔细检查您放置在那里的一些文件,sdk 附带有isolated storage explorer tool

      【讨论】:

      • 大声笑我完全忘了标记这个问题!但是是的,您的链接确实有帮助!
      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-11-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多