Freigeben über


BaseBundle.PutStringArray(String, String[]) Method

Definition

Inserts a String array value into the mapping of this Bundle, replacing any existing value for the given key.

[Android.Runtime.Register("putStringArray", "(Ljava/lang/String;[Ljava/lang/String;)V", "GetPutStringArray_Ljava_lang_String_arrayLjava_lang_String_Handler")]
public virtual void PutStringArray (string? key, string[]? value);
[<Android.Runtime.Register("putStringArray", "(Ljava/lang/String;[Ljava/lang/String;)V", "GetPutStringArray_Ljava_lang_String_arrayLjava_lang_String_Handler")>]
abstract member PutStringArray : string * string[] -> unit
override this.PutStringArray : string * string[] -> unit

Parameters

key
String

a String, or null

value
String[]

a String array object, or null

Attributes

Remarks

Inserts a String array value into the mapping of this Bundle, replacing any existing value for the given key. Either key or value may be null.

Java documentation for android.os.BaseBundle.putStringArray(java.lang.String, java.lang.String[]).

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