ICollection.ContainsAll(ICollection) Method

Definition

Returns true if this collection contains all of the elements in the specified collection.

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

Parameters

c
ICollection

collection to be checked for containment in this collection

Returns

true if this collection contains all of the elements in the specified collection

Attributes

Remarks

Returns true if this collection contains all of the elements in the specified collection.

Java documentation for java.util.Collection.containsAll(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