Dictionary.Remove(Object) Method

Definition

Removes the <code>key</code> (and its corresponding <code>value</code>) from this dictionary.

[Android.Runtime.Register("remove", "(Ljava/lang/Object;)Ljava/lang/Object;", "GetRemove_Ljava_lang_Object_Handler")]
public abstract Java.Lang.Object? Remove (Java.Lang.Object? key);
[<Android.Runtime.Register("remove", "(Ljava/lang/Object;)Ljava/lang/Object;", "GetRemove_Ljava_lang_Object_Handler")>]
abstract member Remove : Java.Lang.Object -> Java.Lang.Object

Parameters

key
Object

the key that needs to be removed.

Returns

Object

the value to which the <code>key</code> had been mapped in this dictionary, or <code>null</code> if the key did not have a mapping.

Attributes

Remarks

Java documentation for java.util.Dictionary.remove(java.lang.Object).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also