Compartilhar via


Intent.GetStringArrayExtra(String) Method

Definition

Retrieve extended data from the intent.

[Android.Runtime.Register("getStringArrayExtra", "(Ljava/lang/String;)[Ljava/lang/String;", "GetGetStringArrayExtra_Ljava_lang_String_Handler")]
public virtual string[]? GetStringArrayExtra (string? name);
[<Android.Runtime.Register("getStringArrayExtra", "(Ljava/lang/String;)[Ljava/lang/String;", "GetGetStringArrayExtra_Ljava_lang_String_Handler")>]
abstract member GetStringArrayExtra : string -> string[]
override this.GetStringArrayExtra : string -> string[]

Parameters

name
String

The name of the desired item.

Returns

String[]

the value of an item previously added with putExtra(), or null if no String array value was found.

Attributes

Remarks

Retrieve extended data from the intent.

Java documentation for android.content.Intent.getStringArrayExtra(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

See also

  • <xref:Android.Content.Intent.PutExtra(System.String%2c+System.String%5b%5d)>