Where is ms-appdata?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-05 19:16:50

ms-appdata:///[local | roaming | temp]/ maps to the StorageFolder returned from Windows.Storage.ApplicationData.Current.localFolder, roamingFolder, and temporaryFolder. See https://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.applicationdata.localfolder.aspx as an example. So you can obtain the appropriate StorageFolder from that API create folders and files from there, and then use ms-appdata URIs to refer to them.

Note that you always want to use the Windows.Storage.ApplicationData API to access those folders rather than using absolute pathnames. StorageFolder and StorageFile are the WinRT abstractions for pathnames and wholly replace them.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!