SearchSpec.Builder.AddFilterSchemas Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| AddFilterSchemas(String[]) |
Adds a Schema type filter to SearchSpec Entry. |
| AddFilterSchemas(ICollection<String>) |
Adds a Schema type filter to SearchSpec Entry. |
AddFilterSchemas(String[])
Adds a Schema type filter to SearchSpec Entry.
[Android.Runtime.Register("addFilterSchemas", "([Ljava/lang/String;)Landroid/app/appsearch/SearchSpec$Builder;", "", ApiSince=31)]
public Android.App.AppSearch.SearchSpec.Builder AddFilterSchemas(params string[] schemas);
[<Android.Runtime.Register("addFilterSchemas", "([Ljava/lang/String;)Landroid/app/appsearch/SearchSpec$Builder;", "", ApiSince=31)>]
member this.AddFilterSchemas : string[] -> Android.App.AppSearch.SearchSpec.Builder
Parameters
- schemas
- String[]
Returns
- Attributes
Remarks
Adds a Schema type filter to SearchSpec Entry. Only search for documents that have the specified schema types. If unset, the query will search over all schema types.
Android reference for android.app.appsearch.SearchSpec.Builder.addFilterSchemas.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
AddFilterSchemas(ICollection<String>)
Adds a Schema type filter to SearchSpec Entry.
[Android.Runtime.Register("addFilterSchemas", "(Ljava/util/Collection;)Landroid/app/appsearch/SearchSpec$Builder;", "", ApiSince=31)]
public Android.App.AppSearch.SearchSpec.Builder AddFilterSchemas(System.Collections.Generic.ICollection<string> schemas);
[<Android.Runtime.Register("addFilterSchemas", "(Ljava/util/Collection;)Landroid/app/appsearch/SearchSpec$Builder;", "", ApiSince=31)>]
member this.AddFilterSchemas : System.Collections.Generic.ICollection<string> -> Android.App.AppSearch.SearchSpec.Builder
Parameters
- schemas
- ICollection<String>
Returns
- Attributes
Remarks
Adds a Schema type filter to SearchSpec Entry. Only search for documents that have the specified schema types. If unset, the query will search over all schema types.
Android reference for android.app.appsearch.SearchSpec.Builder.addFilterSchemas.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.