Foley .NET Utilities Class Library

LinkedSet.Add Method (ICollection)

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

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

Parameters

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

Return Value

true if the LinkedSet is modified; otherwise false.

Implements

ISet.Add

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.Add Overload List