GenericDocument.Builder.SetPropertyBoolean(String, Boolean[]) 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.
Sets one or multiple boolean values for a property, replacing its previous values.
[Android.Runtime.Register("setPropertyBoolean", "(Ljava/lang/String;[Z)Landroid/app/appsearch/GenericDocument$Builder;", "GetSetPropertyBoolean_Ljava_lang_String_arrayZHandler", ApiSince=31)]
public virtual Java.Lang.Object SetPropertyBoolean(string name, params bool[] values);
[<Android.Runtime.Register("setPropertyBoolean", "(Ljava/lang/String;[Z)Landroid/app/appsearch/GenericDocument$Builder;", "GetSetPropertyBoolean_Ljava_lang_String_arrayZHandler", ApiSince=31)>]
abstract member SetPropertyBoolean : string * bool[] -> Java.Lang.Object
override this.SetPropertyBoolean : string * bool[] -> Java.Lang.Object
Parameters
- name
- String
the name associated with the values. Must match the name for this property as given in AppSearchSchema.PropertyConfig.getName. This value cannot be null.
- values
- Boolean[]
the boolean values of the property. This value cannot be null.
Returns
- Attributes
Remarks
Sets one or multiple boolean values for a property, replacing its previous values.
Android reference for android.app.appsearch.GenericDocument.Builder.setPropertyBoolean.
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.