【发布时间】:2013-01-21 10:56:04
【问题描述】:
在常规 .NET Framework 中,有多种方法可以根据搜索模式检索目录中的文件子集,例如 DirectoryInfo.GetFiles(string searchPattern)。
Windows Store应用有对应的方法吗? .NET for Windows Store 应用程序 不包含 Directory 或 DirectoryInfo 类,并且 Windows API 中的 StorageFolder.GetFilesAsync 重载都不支持搜索模式。
【问题讨论】:
标签: c# windows-runtime windows-store-apps storagefile