Compartilhar via


ISet.ContainsAll(ICollection) Method

Definition

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

[Android.Runtime.Register("containsAll", "(Ljava/util/Collection;)Z", "GetContainsAll_Ljava_util_Collection_Handler:Java.Util.ISetInvoker, 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.ISetInvoker, 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 set

Returns

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

Implements

Attributes

Remarks

Returns true if this set contains all of the elements of the specified collection. If the specified collection is also a set, this method returns true if it is a subset of this set.

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