ObservableHashSet<T>.RemoveWhere(Predicate<T>) Method

Definition

Removes all elements that match the conditions defined by the specified predicate from the hash set.

public virtual int RemoveWhere (Predicate<T> match);
abstract member RemoveWhere : Predicate<'T> -> int
override this.RemoveWhere : Predicate<'T> -> int
Public Overridable Function RemoveWhere (match As Predicate(Of T)) As Integer

Parameters

match
Predicate<T>

The Predicate<T> delegate that defines the conditions of the elements to remove.

Returns

The number of elements that were removed from the hash set.

Applies to