Skip to main content
.NET 8.0+

DynamicCollectionBase.IndexOf(Object) Method

Determines the index of the specified object in the collection. This method is implemented to support the IList interface.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public int IndexOf(
    object obj
)

Parameters

Name Type Description
obj Object

An object whom index this method determines.

Returns

Type Description
Int32

An index of the specified object. -1 if the collection does not contain this object.

See Also