Java.Util.Prefs.AbstractPreferences.PutBoolean Method
Adds a new preference with a boolean value 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("putBoolean", "(Ljava/lang/String;Z)V", "GetPutBoolean_Ljava_lang_String_ZHandler")]
public override void PutBoolean (string key, bool value)

Parameters

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

Remarks

Adds a new preference with a boolean value 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