积极答复者
metro C# 如何在制定目录下创建文件?比如D盘下有个abc文件夹。求教!

问题
答案
-
- 已编辑 不老仙翁 2012年12月7日 0:17
- 已标记为答案 Aaron XueModerator 2013年1月8日 4:29
-
Hi,
楼上第一篇解释了商店应用的访问限制。并不是所有位置都能够直接访问的。
在一个特定的地方创建文件需要先得到这个特定的文件夹,你需要使用FolderPicker让用户去选择文件夹,选择的过程你是控制不了的:
http://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.pickers.folderpicker.aspx
Aaron
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- 已标记为答案 Aaron XueModerator 2013年1月8日 4:29
全部回复
-
- 已编辑 不老仙翁 2012年12月7日 0:17
- 已标记为答案 Aaron XueModerator 2013年1月8日 4:29
-
Hi,
楼上第一篇解释了商店应用的访问限制。并不是所有位置都能够直接访问的。
在一个特定的地方创建文件需要先得到这个特定的文件夹,你需要使用FolderPicker让用户去选择文件夹,选择的过程你是控制不了的:
http://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.pickers.folderpicker.aspx
Aaron
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- 已标记为答案 Aaron XueModerator 2013年1月8日 4:29