語言

ArrayMap.RemoveAll(ICollection<Object>) 方法

定義

移除陣列映射中所有存在於該集合中的鍵。

[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

參數

collection
ICollection<Object>

該集合的內容將用於移除金鑰。

傳回

若有鍵從陣列映射中移除,則回傳 true,否則為 false。

屬性

備註

移除陣列映射中所有存在於該集合中的鍵。

Java 文件 android.util.ArrayMap.removeAll(java.util.Collection<?>)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於