ContentIndexerQuery 類別

定義

表示 ContentIndexer中內容屬性的查詢。

public ref class ContentIndexerQuery sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ContentIndexerQuery final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ContentIndexerQuery
Public NotInheritable Class ContentIndexerQuery
繼承
Object Platform::Object IInspectable ContentIndexerQuery
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

屬性

QueryFolder

取得ContentIndexer查詢中應用程式提供專案的StorageFolder標記法。

方法

GetAsync()

在應用程式的索引內容屬性上執行查詢。

GetAsync(UInt32, UInt32)

在應用程式的索引內容屬性上執行查詢,並從結果集合中指定的開始索引傳回指定的專案數。

GetCountAsync()

取得搜尋結果中的專案數。

GetPropertiesAsync()

擷取應用程式的屬性集集合,其中屬性集是索引鍵/值組。

GetPropertiesAsync(UInt32, UInt32)

在應用程式的索引內容屬性上執行查詢,並從結果集合中指定的開始索引傳回指定的屬性數目。

適用於

另請參閱