Skip to main content
.NET 6.0+

XPBaseCollection.BaseIndexOf(Object) Method

Determines the index of the specified object in the XPBaseCollection.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public virtual int BaseIndexOf(
    object value
)

Parameters

Name Type Description
value Object

The persistent object to locate in the XPBaseCollection.

Returns

Type Description
Int32

The zero-based index of the object in the XPBaseCollection, if found; otherwise, -1.

See Also