Returns trueTruetruetrue (True in Visual Basic) if the set contains all the elements in the specified collection.

Namespace: Iesi.Collections.Generic
Assembly: Iesi.Collections (in Iesi.Collections.dll) Version: 1.0.1.0 (3.2.0.4000)

Syntax

C#
bool ContainsAll(
	ICollection<T> c
)
Visual Basic
Function ContainsAll ( _
	c As ICollection(Of T) _
) As Boolean
Visual C++
bool ContainsAll(
	ICollection<T>^ c
)

Parameters

c
Type: System.Collections.Generic..::..ICollection<(Of <(<'T>)>)>
A collection of objects.

Return Value

trueTruetruetrue (True in Visual Basic) if the set contains all the elements in the specified collection, falseFalsefalsefalse (False in Visual Basic) otherwise.

See Also