Android.Content.ISharedPreferencesEditor.PutBoolean Method
Set a boolean value in the preferences editor, to be written back once ISharedPreferencesEditor.Commit or ISharedPreferencesEditor.Apply are called.

Syntax

[Android.Runtime.Register("putBoolean", "(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;", "GetPutBoolean_Ljava_lang_String_ZHandler:Android.Content.ISharedPreferencesEditorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public ISharedPreferencesEditor PutBoolean (string key, bool value)

Parameters

key
The name of the preference to modify.
value
The new value for the preference.

Returns

Documentation for this section has not yet been entered.

Remarks

Set a boolean value in the preferences editor, to be written back once ISharedPreferencesEditor.Commit or ISharedPreferencesEditor.Apply are called.

[Android Documentation]

Requirements

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