Java.Util.Prefs.Preferences.Remove Method
Removes the preference mapped to the given key from this node.

Syntax

[Android.Runtime.Register("remove", "(Ljava/lang/String;)V", "GetRemove_Ljava_lang_String_Handler")]
public abstract void Remove (string key)

Parameters

key
the key of the preference to be removed.

Exceptions

TypeReason
Java.Lang.NullPointerExceptionif the given key is null.
Java.Lang.IllegalStateExceptionif this node has been removed.

Remarks

Removes the preference mapped to the given key from this node.

[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