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)

アプリのインデックス付きコンテンツ プロパティに対してクエリを実行し、結果コレクション内の指定した開始インデックスから指定した数のプロパティを返します。

適用対象

こちらもご覧ください