Foley .NET Utilities Class Library

LinkedSet.Remove Method (ICollection)

Removes the occurrence of each element of the specified ICollection from the LinkedSet.

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

Parameters

collection
The ICollection used to determine what elements to remove from the LinkedSet.

Return Value

true if the LinkedSet is modified; otherwise false.

Implements

ISet.Remove

Exceptions

Exception TypeCondition
System.NotSupportedException

The LinkedSet is read-only.

-or-

The LinkedSet has a fixed size.

System.ArgumentNullException The collection is a null reference (Nothing in Visual Basic).

See Also

LinkedSet Class | LinkedSet Members | Foley.Utilities.Collections Namespace | LinkedSet.Remove Overload List