Foley .NET Utilities Class Library

ISet.Remove Method (ICollection)

When implemented by a class, removes each element of the specified ICollection from the set.

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

Parameters

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

Return Value

true if the set is modified; otherwise false.

Exceptions

Exception TypeCondition
System.NotSupportedException

The set is read-only.

-or-

The set has a fixed size.

See Also

ISet Interface | ISet Members | Foley.Utilities.Collections Namespace | ISet.Remove Overload List