Java.Util.Prefs.AbstractPreferences.Put Method
Adds a new preference to this node using the given key and value or updates the value if a preference with the given key already exists.

Syntax

[Android.Runtime.Register("put", "(Ljava/lang/String;Ljava/lang/String;)V", "GetPut_Ljava_lang_String_Ljava_lang_String_Handler")]
public override void Put (string key, string value)

Parameters

key
the preference key to be added or updated.
value
the preference value for the given key.

Remarks

Adds a new preference to this node using the given key and value or updates the value if a preference with the given key already exists.

[Android Documentation]

Requirements

Namespace: Java.Util.Prefs
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1