Android Guides | Samples

Android.OS.BaseBundle.PutString Method

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

Syntax

[Android.Runtime.Register("putString", "(Ljava/lang/String;Ljava/lang/String;)V", "GetPutString_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual Void PutString (String key, String value)

Parameters

key
a String, or null
value
a String, or null

Remarks

Inserts a String value into the mapping of this Bundle, replacing any existing value for the given key. Either key or value may be null.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0