Foley .NET Utilities Class Library

ISet.Contains Method (ICollection)

When implemented by a class determines whether the set contains all of the elements of the specified ICollection.

[Visual Basic]
Function Contains( _
   ByVal collection As ICollection _
) As Boolean
[C#]
bool Contains(
   ICollection collection
);

Parameters

collection
The ICollection used to determine if all its elements are contained within the set.

Return Value

true if all the elements are found in the set; otherwise, false.

See Also

ISet Interface | ISet Members | Foley.Utilities.Collections Namespace | ISet.Contains Overload List