Windows Phone 8.1 - FileOpenPicker filter by name

好久不见. 提交于 2019-12-13 03:56:26

问题


I'm developing a Windows Phone app (Windows Runtime, not Windows Phone Silverlight 8.1). In it, I have to let the user select multiple photos to do some processing with them. To accomplish this, I'm using the FileOpenPicker class, and it works fine. But I want to show only the pictures whose name doesn't start with a given string, for example, "abc-". So, in this case, I would only want the FileOpenPicker to display the pictures whose name doesn't start with " abc-". So, is it possible to do this? If it is not possible, how can I accomplish it? Thank you. (I'm launching the FileOpenPicker with

fileOpenPicker.PickMultipleFilesAndContinue();

回答1:


No, it's not possible. You can filter only on the file type.

You can post or vote for feature requests on the Windows Dev Platform Feedback site.



来源:https://stackoverflow.com/questions/28095268/windows-phone-8-1-fileopenpicker-filter-by-name

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