Foley .NET Utilities Class Library

LinkedSet.Contains Method (ICollection)

Determines whether all the elements in the specified collection are contained in the LinkedSet.

[Visual Basic]
Overrides Overloads Public Function Contains( _
   ByVal collection As ICollection _
) As Boolean Implements _
   ISet.Contains
[C#]
public override bool Contains(
   ICollection collection
);

Parameters

collection
The ICollection whose elements are to be added to the end of the LinkedSet.

Return Value

true if all the elements of the ICollection are found in the LinkedSet; otherwise, false.

Implements

ISet.Contains

Exceptions

Exception TypeCondition
System.ArgumentNullException The collection is a null reference (Nothing in Visual Basic).

See Also

LinkedSet Class | LinkedSet Members | Foley.Utilities.Collections Namespace | LinkedSet.Contains Overload List