EFFiltersCollection.IndexOf(DBSetFilter) Method

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

Namespace: DevExpress.DataAccess.EntityFramework

Assembly: DevExpress.DataAccess.v20.2.dll

Declaration

public int IndexOf(
    DBSetFilter item
)
Public Function IndexOf(
    item As DBSetFilter
) As Integer

Parameters

Name Type Description
item DBSetFilter

A DBSetFilter object 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 specified item has not been found in the collection, this method returns -1.

Implements

See Also