2011年4月1日

Windows Phone 7 独立存储使用XML文件来存储信息

摘要: XML结构清晰,使用手机独立存储的时候可以利用上XML的文件结构来保存信息,这是一种不错的选择。使用IsolatedStorageFile对象来实现手机信息的存储,有三个主要步骤,1、调用手机的独立存储 IsolatedStorageFile storage = IsolatedStorageFile.GetUserStoreForApplication()2、创建独立存储文件流IsolatedStorageFileStream location = new IsolatedStorageFileStream(nameTxt.Text + ".item",System.IO 阅读全文

posted @ 2011-04-01 21:39 linzheng 阅读(3036) 评论(7) 推荐(3) 编辑

导航