Folder. Create Folder Query With Options(QueryOptions) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public: virtual StorageFolderQueryResult ^ CreateFolderQueryWithOptions(QueryOptions ^ queryOptions) = CreateFolderQueryWithOptions;
StorageFolderQueryResult CreateFolderQueryWithOptions(QueryOptions const& queryOptions);
public StorageFolderQueryResult CreateFolderQueryWithOptions(QueryOptions queryOptions);
Public Function CreateFolderQueryWithOptions (queryOptions As QueryOptions) As StorageFolderQueryResult
The criteria that are applied to the query.
A query result object. Call the GetFoldersAsync method of the query result to get the subfolders in the current folder. If you provided a CommonFolderQuery value other than CommonFolderQuery.DefaultQuery when you instantiated the QueryOptions, the query result object contains a list of virtual folders that represent containers for groups of files in the subfolders of the current folder. (Files from the current folder are not included.) The files are grouped as specified by queryOptions. The list is of type IReadOnlyList<StorageFolder>. Each folder in the list is represented by a StorageFolder object.
You don't have permission to access the contents of the current folder.
For more information and examples on getting query result objects, see CreateFileQueryWithOptions.
Submit and view feedback for