Adds the elements of the specified ICollection to the list.
[Visual Basic]
Overridable Overloads Public Function Add( _
ByVal collection As ICollection _
) As Boolean Implements _
IList2.Add
true if the list is modified; otherwise false.
| Exception Type | Condition |
|---|---|
| System.NullReferenceException |
The collection is a null reference
(Nothing in Visual Basic).
|
List2Base Class | List2Base Members | Foley.Utilities.Collections Namespace | List2Base.Add Overload List