Compartir a través de


FilteredObservableCollection<T>.Filter Method

Filters the collection by the specified predicate.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'Declaration
Public Sub Filter ( _
    filterPredicate As Predicate(Of T) _
)
public void Filter(
    Predicate<T> filterPredicate
)
public:
void Filter(
    Predicate<T>^ filterPredicate
)
member Filter : 
        filterPredicate:Predicate<'T> -> unit
public function Filter(
    filterPredicate : Predicate<T>
)

Parameters

  • filterPredicate
    Type: Predicate<T>

    A Predicate that defines the filter.

.NET Framework Security

See Also

Reference

FilteredObservableCollection<T> Class

Microsoft.VisualStudio.Language.Intellisense Namespace