Skip to main content
All docs
V26.1
  • UniqueTypeList<T>.IndexOf(T) Method

    Returns the zero-based index of the first occurrence of a specific object in the list.

    Namespace: DevExpress.Docs

    Assembly: DevExpress.Docs.Core.v26.1.dll

    Declaration

    public int IndexOf(
        T item
    )

    Parameters

    Name Type Description
    item T

    The item to locate in the list.

    Returns

    Type Description
    Int32

    The zero-based index of the first occurrence of the item in the list, or -1 if the item is not found.

    Implements

    See Also