AppSearchSchema.DocumentPropertyConfig.Builder(String, String) Constructor
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.
Creates a new DocumentPropertyConfig.Builder.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=31)]
public Builder(string propertyName, string schemaType);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=31)>]
new Android.App.AppSearch.AppSearchSchema.DocumentPropertyConfig.Builder : string * string -> Android.App.AppSearch.AppSearchSchema.DocumentPropertyConfig.Builder
Parameters
- propertyName
- String
The logical name of the property in the schema, which will be used as the key for this property in GenericDocument.Builder.setPropertyDocument. This value cannot be null.
- schemaType
- String
The type of documents which will be stored in this property. Documents of different types cannot be mixed into a single property. This value cannot be null.
- Attributes
Remarks
Creates a new DocumentPropertyConfig.Builder.
Android reference for android.app.appsearch.AppSearchSchema.DocumentPropertyConfig.Builder.Builder.
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.