SearchSpec.Builder.AddFilterProperties メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した型のプロパティ パスを SearchSpec Entry のプロパティ フィルターに追加します。
[Android.Runtime.Register("addFilterProperties", "(Ljava/lang/String;Ljava/util/Collection;)Landroid/app/appsearch/SearchSpec$Builder;", "", ApiSince=35)]
public Android.App.AppSearch.SearchSpec.Builder AddFilterProperties(string schema, System.Collections.Generic.ICollection<string> propertyPaths);
[<Android.Runtime.Register("addFilterProperties", "(Ljava/lang/String;Ljava/util/Collection;)Landroid/app/appsearch/SearchSpec$Builder;", "", ApiSince=35)>]
member this.AddFilterProperties : string * System.Collections.Generic.ICollection<string> -> Android.App.AppSearch.SearchSpec.Builder
パラメーター
- schema
- String
ターゲット プロパティを含む AppSearchSchema。 この値は null にすることはできません。
- propertyPaths
- ICollection<String>
PropertyPath の文字列バージョン。 プロパティ名のドット区切りのシーケンス。 この値は null にすることはできません。
返品
- 属性
注釈
指定した型のプロパティ パスを SearchSpec Entry のプロパティ フィルターに追加します。 指定したプロパティの下に一致するドキュメントのみを返します。 型のプロパティ パスが追加された場合、参照されるプロパティのみがその型の結果を検索します。 指定されたプロパティ パスが結果に存在しない場合、その結果は無視されます。 プロパティ パスを null にすることはできません。 特定の型のプロパティ パスが追加されていない場合は、その型の結果のすべてのプロパティが検索されます。 プロパティの例: 'body'、'sender.name'、'sender.emailaddress'など。SearchSpec.SCHEMA_TYPE_WILDCARDのプロパティ パスが追加された場合、これらのプロパティ パスは、独自の特定のプロパティ パスが設定されている型を除き、すべての結果に適用されます。
android.app.appsearch.SearchSpec.Builder.addFilterPropertiesの Android リファレンス。
このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。