StorageFolder.CreateFileQuery() | createFileQuery() method

0 out of 1 rated this helpful - Rate this topic

Creates a query result object to filter and enumerate top-level files in the current folder.

Syntax


var storageFileQueryResult = storageFolder.createFileQuery();

Parameters

This method has no parameters.

Return value

Type: StorageFileQueryResult

A query result object to filter and enumerate the top-level files in the current folder.

Remarks

This method creates a query result object identical to query result created by calling CreateFileQuery(CommonFileQuery) and specifying the CommonFileQuery.DefaultQuery enumeration value.

You can also get a top-level list of files in the current folder asynchronously by calling one of the GetFilesAsync methods.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Storage
Windows::Storage [C++]

Metadata

Windows.winmd

See also

StorageFolder
CreateFileQuery(CommonFileQuery)

 

 

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.