Share via


ArraySet.RemoveAll Method

Definition

Overloads

RemoveAll(ArraySet)

Perform a #remove(Object) of all values in <var>array</var>

RemoveAll(ICollection)

Remove all values in the array set that exist in the given collection.

RemoveAll(ArraySet)

Perform a #remove(Object) of all values in <var>array</var>

[Android.Runtime.Register("removeAll", "(Landroid/util/ArraySet;)Z", "", ApiSince=23)]
public bool RemoveAll (Android.Util.ArraySet? array);
[<Android.Runtime.Register("removeAll", "(Landroid/util/ArraySet;)Z", "", ApiSince=23)>]
member this.RemoveAll : Android.Util.ArraySet -> bool

Parameters

array
ArraySet

The array whose contents are to be removed.

Returns

Attributes

Remarks

Perform a #remove(Object) of all values in <var>array</var>

Java documentation for android.util.ArraySet.removeAll(android.util.ArraySet<? extends E>).

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

RemoveAll(ICollection)

Remove all values in the array set that exist in the given collection.

[Android.Runtime.Register("removeAll", "(Ljava/util/Collection;)Z", "", ApiSince=23)]
public bool RemoveAll (System.Collections.ICollection? collection);
[<Android.Runtime.Register("removeAll", "(Ljava/util/Collection;)Z", "", ApiSince=23)>]
abstract member RemoveAll : System.Collections.ICollection -> bool
override this.RemoveAll : System.Collections.ICollection -> bool

Parameters

collection
ICollection

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

Returns

Returns true if any values were removed from the array set, else false.

Implements

Attributes

Remarks

Remove all values in the array set that exist in the given collection.

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