Bundle.PutString(String, String) Method

Definition

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

[Android.Runtime.Register("putString", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public override void PutString (string? key, string? value);
[<Android.Runtime.Register("putString", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
override this.PutString : string * string -> unit

Parameters

key
String

a String, or null

value
String

a String, or null

Attributes

Remarks

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