ObservableCollectionExtended<(Of <(<'T>)>)>..::..RemoveAll Method

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

Namespace:  Tortuga.Anchor.Collections
Assembly:  Tortuga.Anchor (in Tortuga.Anchor.dll)

Syntax


public int RemoveAll(
	Predicate<T> match
)
Public Function RemoveAll ( _
	match As Predicate(Of T) _
) As Integer

Parameters

match
Type: Predicate<(Of <(<'T>)>)>
The System.Predicate`1 delegate that defines the conditions of the elements to remove.

Return Value

The number of elements removed.