Foley .NET Utilities Class Library

IList2.Contains Method 

When implemented by a class, determines whether all the elements in the specified collection are contained in the IList contains.

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

Parameters

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

Return Value

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

See Also

IList2 Interface | IList2 Members | Foley.Utilities.Collections Namespace