Udostępnij za pośrednictwem


IList.ContainsAll(ICollection) Method

Definition

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

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

Returns

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

Implements

Attributes

Remarks

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

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