Android.Content.ISharedPreferencesEditor.Remove Method
Mark in the editor that a preference value should be removed, which will be done in the actual preferences once ISharedPreferencesEditor.Commit is called.

Syntax

[Android.Runtime.Register("remove", "(Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;", "GetRemove_Ljava_lang_String_Handler:Android.Content.ISharedPreferencesEditorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public ISharedPreferencesEditor Remove (string key)

Parameters

key
The name of the preference to remove.

Returns

Documentation for this section has not yet been entered.

Remarks

Mark in the editor that a preference value should be removed, which will be done in the actual preferences once ISharedPreferencesEditor.Commit is called.

Note that when committing back to the preferences, all removals are done first, regardless of whether you called remove 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