摘要: 不用开启文档库功能,将你想读取的文件放入程序中,比如在你的项目中新建了一个叫Data的文件夹,将你的test.txt放入这个文件夹中,你想读取其中的数据写入如下代码 string filename="ms-appx:///Data/test.txt"; Uri baseUri = new Uri(filename); StorageFile file = await StorageFile.GetFileFromApplicationUriAsync(baseUri); if (file != null) ... 阅读全文
posted @ 2012-10-15 20:39 5AnonymousAtBJTU 阅读(469) 评论(0) 推荐(0) 编辑