信息
您所需的主题如下所示。但此主题未包含在此库中。

IStorageQueryResultBase Interface

提供方法以访问和管理查询结果。

语法


public interface IStorageQueryResultBase

特性

[Version(0x06020000)]

成员

IStorageQueryResultBase接口 具有这些类型的成员:

事件

IStorageQueryResultBase接口 具有这些事件。

事件说明
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.

 

方法

The IStorageQueryResultBase 接口 具有这些方法。 它还继承方法于Object 类.

方法说明
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.

 

属性

IStorageQueryResultBase接口 具有这些属性。

属性访问类型说明

Folder

只读Gets the folder originally used to create a StorageFileQueryResult, StorageFolderQueryResult, or StorageItemQueryResult object.

 

备注

Windows Phone 8

此 API 不实现,但是调用时会引发异常。请参见 Windows Phone 运行时 API

要求

最低支持客户端

Windows 8

最低支持服务器

Windows Server 2012

最低支持电话

Windows Phone 8 [未实现,请参见备注]

命名空间

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

元数据

Windows.winmd

 

 

显示: