IList.RemoveAll(ICollection) 方法

定义

从此列表中删除指定集合中包含的所有元素(可选操作)。

[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

参数

c
ICollection

包含要从此列表中删除的元素的集合

返回

true 如果此列表因调用而更改

实现

属性

注解

从此列表中删除指定集合中包含的所有元素(可选操作)。

适用于 . 的 java.util.List.removeAll(java.util.Collection<?>)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于