Condividi tramite


Bundle.PutBundle(String, Bundle) Method

Definition

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

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

Parameters

key
String

a String, or null

value
Bundle

a Bundle object, or null

Attributes

Remarks

Inserts a Bundle 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.Bundle.putBundle(java.lang.String, android.os.Bundle).

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