WP8的文件和储.docVIP

  • 1
  • 0
  • 约 7页
  • 2016-12-03 发布于河南
  • 举报
WP8的文件和储

WP8的文件和存储 内容预告: 特殊的文件夹(Shared/Media,Shared/ShellContent,Shared/Transfer) 用ISET浏览本地文件夹 后台文件传输 使用SD存储卡 但不包括: 本地数据库(基于LINQ的sqlce) SQLite 本地数据存储概览:打包管理器把所有的App放到安装文件夹,App存储数据到本地文件夹。 定位存储位置的不同方式: WP8文件存储的备选方案:三种方式 // WP7.1 IsolatedStorage APIs var isf = IsolatedStorageFile.GetUserStoreForApplication(); IsolatedStorageFileStream fs = new IsolatedStorageFileStream(CaptainsLog.store, FileMode.Open, isf));... // WP8 Storage APIs using URI StorageFile storageFile = await Windows.Storage.StorageFile.GetFileFromApplicationUriAsync( new Uri(ms-appdata:///local/CaptainsLog.store ))

文档评论(0)

1亿VIP精品文档

相关文档