다음을 통해 공유


Bundle.PutParcelableArray(String, IParcelable[]) Method

Definition

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

[Android.Runtime.Register("putParcelableArray", "(Ljava/lang/String;[Landroid/os/Parcelable;)V", "")]
public void PutParcelableArray (string? key, Android.OS.IParcelable[]? value);
[<Android.Runtime.Register("putParcelableArray", "(Ljava/lang/String;[Landroid/os/Parcelable;)V", "")>]
member this.PutParcelableArray : string * Android.OS.IParcelable[] -> unit

Parameters

key
String

a String, or null

value
IParcelable[]

an array of Parcelable objects, or null

Attributes

Remarks

Inserts an array of Parcelable values 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.Bundle.putParcelableArray(java.lang.String, android.os.Parcelable[]).

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