IStorageQueryResultBase interface

[This documentation is preliminary and is subject to change.]

Provides methods to access to and manage query results.

Syntax


public interface class IStorageQueryResultBase

Attributes

[Version(0x06020000)]

Members

The IStorageQueryResultBase interface has these types of members:

Events

The IStorageQueryResultBase interface has these events.

EventDescription
ContentsChanged Fires when an item is added, deleted or modified in the folder being queried.
OptionsChanged Fires when the query options are changed for a StorageFileQueryResult, StorageFolderQueryResult, or StorageItemQueryResult object.

 

Methods

The IStorageQueryResultBase interface has these methods. It also inherits methods from the Object class.

MethodDescription
ApplyNewQueryOptions Applies new query options to the results retrieved by the StorageFileQueryResult, StorageFolderQueryResult, or StorageItemQueryResult object.
FindStartIndexAsync Retrieves the index of the file from the query results that most closely matches the specified property value. The property that is matched is determined by the first SortEntry of the QueryOptions.SortOrder list.
GetCurrentQueryOptions Retrieves the query options used to create a StorageFileQueryResult, StorageFolderQueryResult, or StorageItemQueryResult object.
GetItemCountAsync Retrieves the number of items that match the query that created a StorageFileQueryResult, StorageFolderQueryResult, or StorageItemQueryResult object.

 

Properties

The IStorageQueryResultBase interface has these properties.

PropertyAccess typeDescription

Folder

Read-onlyGets the folder originally used to create a StorageFileQueryResult, StorageFolderQueryResult, or StorageItemQueryResult object.

 

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Storage.Search
Windows::Storage::Search [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows 10 Technical Preview for phones

Namespace

Windows.Storage.Search
Windows::Storage::Search [C++]

Metadata

Windows.winmd

 

 

Show:
© 2015 Microsoft