Share via


IStorageFolderQueryOperations.CreateFileQuery Method

Definition

Overloads

CreateFileQuery()

Retrieves an object for enumerating the files in a storage location and subscribing to events that fire when the contents of the storage location change.

CreateFileQuery(CommonFileQuery)

Retrieves an object with the specified options for enumerating the storage location in a folder and subscribing to events that fire when the contents of the storage location change.

CreateFileQuery()

Retrieves an object for enumerating the files in a storage location and subscribing to events that fire when the contents of the storage location change.

public:
 StorageFileQueryResult ^ CreateFileQuery();
/// [Windows.Foundation.Metadata.Overload("CreateFileQueryOverloadDefault")]
StorageFileQueryResult CreateFileQuery();
[Windows.Foundation.Metadata.Overload("CreateFileQueryOverloadDefault")]
public StorageFileQueryResult CreateFileQuery();
function createFileQuery()
Public Function CreateFileQuery () As StorageFileQueryResult

Returns

An object for enumerating files and subscribing to events.

Attributes

See also

Applies to

CreateFileQuery(CommonFileQuery)

Retrieves an object with the specified options for enumerating the storage location in a folder and subscribing to events that fire when the contents of the storage location change.

public:
 StorageFileQueryResult ^ CreateFileQuery(CommonFileQuery query);
/// [Windows.Foundation.Metadata.Overload("CreateFileQuery")]
StorageFileQueryResult CreateFileQuery(CommonFileQuery const& query);
[Windows.Foundation.Metadata.Overload("CreateFileQuery")]
public StorageFileQueryResult CreateFileQuery(CommonFileQuery query);
function createFileQuery(query)
Public Function CreateFileQuery (query As CommonFileQuery) As StorageFileQueryResult

Parameters

query
CommonFileQuery

The type of folder query to perform. This parameter defaults to CommonFileQuery.DefaultQuery.

Returns

An object for enumerating files and subscribing to events.

Attributes

See also

Applies to