GenericDocument.Builder.SetPropertyString(String, String[]) 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 String values for a property, replacing its previous values.
[Android.Runtime.Register("setPropertyString", "(Ljava/lang/String;[Ljava/lang/String;)Landroid/app/appsearch/GenericDocument$Builder;", "GetSetPropertyString_Ljava_lang_String_arrayLjava_lang_String_Handler", ApiSince=31)]
public virtual Java.Lang.Object SetPropertyString(string name, params string[] values);
[<Android.Runtime.Register("setPropertyString", "(Ljava/lang/String;[Ljava/lang/String;)Landroid/app/appsearch/GenericDocument$Builder;", "GetSetPropertyString_Ljava_lang_String_arrayLjava_lang_String_Handler", ApiSince=31)>]
abstract member SetPropertyString : string * string[] -> Java.Lang.Object
override this.SetPropertyString : string * string[] -> 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
- String[]
the String values of the property. This value cannot be null.
Returns
- Attributes
Remarks
Sets one or multiple String values for a property, replacing its previous values.
Android reference for android.app.appsearch.GenericDocument.Builder.setPropertyString.
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.