IStorageQueryResultBase.ApplyNewQueryOptions(QueryOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.