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
'Déclaration
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: System.Predicate<T>
A Predicate<T> that defines the filter.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.