共用方式為


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 屬性授權中所述的詞彙使用。

適用於