Android.Content.ISharedPreferencesEditor.Clear Method
Mark in the editor to remove all values from the preferences.

Syntax

[Android.Runtime.Register("clear", "()Landroid/content/SharedPreferences$Editor;", "GetClearHandler:Android.Content.ISharedPreferencesEditorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public ISharedPreferencesEditor Clear ()

Returns

Documentation for this section has not yet been entered.

Remarks

Mark in the editor to remove all values from the preferences. Once commit is called, the only remaining preferences will be any that you have defined in this editor.

Note that when committing back to the preferences, the clear is done first, regardless of whether you called clear before or after put methods on this editor.

[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