Sdílet prostřednictvím


StorageFileQueryResult.ApplyNewQueryOptions(QueryOptions) Method

Definition

Modifies query results based on new QueryOptions.

public:
 virtual void ApplyNewQueryOptions(QueryOptions ^ newQueryOptions) = ApplyNewQueryOptions;
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.

Implements

Remarks

This method causes the OptionsChanged event to fire.

When this method returns, subsequent calls to GetFilesAsync or GetItemCountAsync will reflect the results of the new QueryOptions.

Applies to