Skip to main content

EFFiltersCollection.IndexOf(Object) Method

Returns the zero-based index of the specified filter in the collection.

Namespace: DevExpress.DataAccess.EntityFramework

Assembly: DevExpress.DataAccess.v24.1.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public int IndexOf(
    object value
)

Parameters

Name Type Description
value Object

A Object value to locate in the collection.

Returns

Type Description
Int32

An integer value, indicating the position of the specified filter in the collection.

Remarks

If the item with the specified value has not been found in the collection, this method returns -1.

See Also