Partager via


BaseBundle.GetStringArray(String) Method

Definition

Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key.

[Android.Runtime.Register("getStringArray", "(Ljava/lang/String;)[Ljava/lang/String;", "GetGetStringArray_Ljava_lang_String_Handler")]
public virtual string[]? GetStringArray (string? key);
[<Android.Runtime.Register("getStringArray", "(Ljava/lang/String;)[Ljava/lang/String;", "GetGetStringArray_Ljava_lang_String_Handler")>]
abstract member GetStringArray : string -> string[]
override this.GetStringArray : string -> string[]

Parameters

key
String

a String, or null

Returns

String[]

a String[] value, or null

Attributes

Remarks

Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key.

Java documentation for android.os.BaseBundle.getStringArray(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