Skip to main content
.NET 8.0+

XPBaseCollection.BaseIndexOf(Object) Method

Determines the index of the specified object in the XPBaseCollection.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

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