IBindingListView.Filter Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the filter to be used to exclude items from the collection of items returned by the data source

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

Property Filter As String

Property Value

Type: System.String

The string used to filter items out in the item collection returned by the data source.

Your implementation of the Filter property should exhibit the following behavior when the Filter property is set: The data source returns only the items that meet the filter criteria when the list is accessed by item index or when the list is enumerated. The definition of the filter string is dependent on the data-source implementation, but the behavior associated with setting the filter should be modeled on DataColumn.Expression.

.NET Framework
Available since 2.0
Return to top