Sdílet prostřednictvím


IStorageFolderQueryOperations.CreateFolderQueryWithOptions Method

Definition

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

public:
 StorageFolderQueryResult ^ CreateFolderQueryWithOptions(QueryOptions ^ queryOptions);
StorageFolderQueryResult CreateFolderQueryWithOptions(QueryOptions const& queryOptions);
public StorageFolderQueryResult CreateFolderQueryWithOptions(QueryOptions queryOptions);
function createFolderQueryWithOptions(queryOptions)
Public Function CreateFolderQueryWithOptions (queryOptions As QueryOptions) As StorageFolderQueryResult

Parameters

queryOptions
QueryOptions

The options for filtering the query results.

Returns

An object for enumerating folders and subscribing to events.

Remarks

You can use QueryOptions and CreateFileQueryWithOptions to create an indexed backed file query that lets you get properties that rely on another app's property handler. For more information see QueryOptions.

Applies to