IStorageFolderQueryOperations.CreateItemQueryWithOptions(QueryOptions) Method

Definition

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

public:
 StorageItemQueryResult ^ CreateItemQueryWithOptions(QueryOptions ^ queryOptions);
StorageItemQueryResult CreateItemQueryWithOptions(QueryOptions const& queryOptions);
public StorageItemQueryResult CreateItemQueryWithOptions(QueryOptions queryOptions);
function createItemQueryWithOptions(queryOptions)
Public Function CreateItemQueryWithOptions (queryOptions As QueryOptions) As StorageItemQueryResult

Parameters

queryOptions
QueryOptions

The options for filtering the query results.

Returns

An object for enumerating storage items and subscribing to events.

Remarks

Don't set QueryOptions.FolderDepth to FolderDepth.Deep; deep queries do not work if you are querying files in a Digital Living Network Alliance (DLNA) device.

Applies to