AdvisableHashSet<T>.RemoveWhere Method
RemoveWhere(Predicate<T>)
Removes all elements that match the conditions defined by the specified predicate from a System.Collections.Generic.HashSet<> collection.
Declaration
public int RemoveWhere(Predicate<T> match)
Parameters
Type | Name | Description |
---|---|---|
System.Predicate<T> | match | The System.Predicate<> delegate that defines the conditions of the elements to remove. |
Returns
Type | Description |
---|---|
Int32 | The number of elements that were removed from the System.Collections.Generic.HashSet<> collection. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|