IStorageQueryResultBase.ApplyNewQueryOptions(QueryOptions) Method

Definition

Applies new query options to the results retrieved by the StorageFileQueryResult, StorageFolderQueryResult, or StorageItemQueryResult object.

public:
 void ApplyNewQueryOptions(QueryOptions ^ newQueryOptions);
void ApplyNewQueryOptions(QueryOptions const& newQueryOptions);
public void ApplyNewQueryOptions(QueryOptions newQueryOptions);
function applyNewQueryOptions(newQueryOptions)
Public Sub ApplyNewQueryOptions (newQueryOptions As QueryOptions)

Parameters

newQueryOptions
QueryOptions

The new query options.

Remarks

When this method returns, the contents of the query and the count of items reflect the new query options.

This method causes the OptionsChanged event to fire.

Applies to