GetByDocumentIdRequest.Builder.AddProjection 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.
Adds property paths for the specified type to be used for projection.
[Android.Runtime.Register("addProjection", "(Ljava/lang/String;Ljava/util/Collection;)Landroid/app/appsearch/GetByDocumentIdRequest$Builder;", "", ApiSince=31)]
public Android.App.AppSearch.GetByDocumentIdRequest.Builder AddProjection(string schemaType, System.Collections.Generic.ICollection<string> propertyPaths);
[<Android.Runtime.Register("addProjection", "(Ljava/lang/String;Ljava/util/Collection;)Landroid/app/appsearch/GetByDocumentIdRequest$Builder;", "", ApiSince=31)>]
member this.AddProjection : string * System.Collections.Generic.ICollection<string> -> Android.App.AppSearch.GetByDocumentIdRequest.Builder
Parameters
- schemaType
- String
- propertyPaths
- ICollection<String>
Returns
- Attributes
Remarks
Adds property paths for the specified type to be used for projection. If property paths are added for a type, then only the properties referred to will be retrieved for results of that type. If a property path that is specified isn't present in a result, it will be ignored for that result. Property paths cannot be null. If no property paths are added for a particular type, then all properties of results of that type will be retrieved. If property path is added for the GetByDocumentIdRequest.PROJECTION_SCHEMA_TYPE_WILDCARD, then those property paths will apply to all results, excepting any types that have their own, specific property paths set.
Android reference for android.app.appsearch.GetByDocumentIdRequest.Builder.addProjection.
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.