Foley .NET Utilities Class Library

LinkedList.Add Method (ICollection)

Adds the elements of an ICollection to the end of the LinkedList.

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

Parameters

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

Return Value

true if the LinkedList is modified; otherwise false.

Implements

IList2.Add

Exceptions

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

See Also

LinkedList Class | LinkedList Members | Foley.Utilities.Collections Namespace | LinkedList.Add Overload List