Udostępnij za pośrednictwem


IList.RemoveAll(ICollection) Method

Definition

Removes from this list all of its elements that are contained in the specified collection (optional operation).

[Android.Runtime.Register("removeAll", "(Ljava/util/Collection;)Z", "GetRemoveAll_Ljava_util_Collection_Handler:Java.Util.IListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool RemoveAll (System.Collections.ICollection c);
[<Android.Runtime.Register("removeAll", "(Ljava/util/Collection;)Z", "GetRemoveAll_Ljava_util_Collection_Handler:Java.Util.IListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member RemoveAll : System.Collections.ICollection -> bool

Parameters

c
ICollection

collection containing elements to be removed from this list

Returns

true if this list changed as a result of the call

Implements

Attributes

Remarks

Removes from this list all of its elements that are contained in the specified collection (optional operation).

Java documentation for java.util.List.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