如何在不查询文件夹中的整个 StorageFiles 的情况下获取给定起始名称的 StorageFile?温特

How to get the StorageFile given its starting name without querying the entire StorageFiles in a folder? Winrt

在 WinRT 中,有没有一种方法可以直接获取给定起始名称的 StorageFile

如果有的话,我有什么选择? 提前致谢。

您可以使用查询选项 class 在存储文件夹中搜索文件

https://msdn.microsoft.com/library/windows/apps/BR207995