Compartir a través de


BaseBundle.PutIntArray(String, Int32[]) Method

Definition

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

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

Parameters

key
String

a String, or null

value
Int32[]

an int array object, or null

Attributes

Remarks

Inserts an int 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.putIntArray(java.lang.String, int[]).

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