Gets a list of StorageFolder objects that represent groups of files in the current folder. Files are filtered and grouped based on the specified CommonFolderQuery.
Syntax
storageFolder.getFoldersAsync(query).done( /* Your success and error handlers */ );
Parameters
- query
-
Type: CommonFolderQuery
The common folder query.
Return value
Type: IAsyncOperation<IVectorView>
When this method completes successfully, it returns a list of the files (type IVectorView). Each folder in the list is represented by a StorageFolder.
Remarks
Using a CommonFolderQuery lets you construct lists of folders and file groups based on specific file attributes (like title and date) quickly and easily.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 2/25/2013