windows store app 8.1 文件系统访问 [英] windows store app 8.1 file system access

查看:25
本文介绍了windows store app 8.1 文件系统访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows Store 应用程序是否只能访问库"文件而不访问 PC 硬盘驱动器上的其他位置?就像我有一个 D 驱动器,里面装满了我希望应用程序访问的视频媒体,有没有办法做到这一点?我已经搜索了一段时间,除了已知文件夹"示例和文档之外什么都找不到.

Can windows store apps only access "library" files and not other locations on the hard drives of PCs? Like if I had a D drive that was full of video media that I wanted the app to have access to, is there no way to get to that? I've been searching for a while now and can't find anything but "knownfolder" examples and documentation.

推荐答案

为了访问库和其他特定位置之外的文件,您需要使用 FileOpenPicker 或 FolderPicker.您可以在 http://msdn.microsoft.com/en-us/library/windows/apps/Hh967755.aspx.

In order to access files outside of the libraries and other specific locations, you'd need to use the FileOpenPicker or FolderPicker. You can find more information on File Access and Permissions for Windows Store apps at http://msdn.microsoft.com/en-us/library/windows/apps/Hh967755.aspx.

这篇关于windows store app 8.1 文件系统访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆