Share via


ArrayMap.RemoveAll(ICollection<Object>) Method

Definition

Remove all keys in the array map that exist in the given collection.

[Android.Runtime.Register("removeAll", "(Ljava/util/Collection;)Z", "")]
public bool RemoveAll (System.Collections.Generic.ICollection<object>? collection);
[<Android.Runtime.Register("removeAll", "(Ljava/util/Collection;)Z", "")>]
member this.RemoveAll : System.Collections.Generic.ICollection<obj> -> bool

Parameters

collection
ICollection<Object>

The collection whose contents are to be used to remove keys.

Returns

Returns true if any keys were removed from the array map, else false.

Attributes

Remarks

Remove all keys in the array map that exist in the given collection.

Java documentation for android.util.ArrayMap.removeAll(java.util.Collection<?>).

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