Determines whether all the elements in the specified collection are contained in the LinkedList contains.
[Visual Basic]
Overrides Overloads Public Function Contains( _
ByVal collection As ICollection _
) As Boolean Implements _
IList2.Contains
true if all the elements of the ICollection are
found in the LinkedList; otherwise, false.
| Exception Type | Condition |
|---|---|
| System.NullReferenceException |
The collection is a null reference
(Nothing in Visual Basic).
|
LinkedList Class | LinkedList Members | Foley.Utilities.Collections Namespace | LinkedList.Contains Overload List