Freigeben über


ArrayMap.Remove(Object) Method

Definition

Remove an existing key from the array map.

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

Parameters

key
Object

The key of the mapping to remove.

Returns

Returns the value that was stored under the key, or null if there was no such key.

Implements

Attributes

Remarks

Remove an existing key from the array map.

Java documentation for android.util.ArrayMap.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