Skip to main content
All docs
V25.1
  • Row

    OleObjectCollection.IndexOf(OleObject) Method

    Returns the position of the specified OLE object in the collection.

    Namespace: DevExpress.Spreadsheet

    Assembly: DevExpress.Spreadsheet.v25.1.Core.dll

    NuGet Package: DevExpress.Spreadsheet.Core

    Declaration

    int IndexOf(
        OleObject oleObject
    )

    Parameters

    Name Type Description
    oleObject OleObject

    An object to locate in the collection.

    Returns

    Type Description
    Int32

    A zero-based index of the OLE object in the collection. -1 if the object does not belong to the collection.

    See Also