IStorageQueryResultBase interface

Applies to Windows only

Provides methods to access to and manage query results.

Syntax


public interface 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

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft