共用方式為


FilteredObservableCollection<T>.Filter(Predicate<T>) Method

Definition

Filters the collection by the specified predicate.

public:
 void Filter(Predicate<T> ^ filterPredicate);
public void Filter (Predicate<T> filterPredicate);
member this.Filter : Predicate<'T> -> unit
Public Sub Filter (filterPredicate As Predicate(Of T))

Parameters

filterPredicate
Predicate<T>

A Predicate<T> that defines the filter.

Applies to