Collections Collections
Collections Collections
DocFX + Singulink = ♥

Search Results for

    Method IndexOf

    IndexOf(T)

    Searches for the specified object and returns the index of the first occurrence within the entire list.

    Declaration
    public int IndexOf(T item)
    Parameters
    Type Name Description
    T item
    Returns
    Type Description
    int
    Implements
    IList<T>.IndexOf(T)

    IndexOf(T, int)

    Searches for the specified object and returns the index of the first occurrence within the range of items in the list that extends from the specified index to the last item.

    Declaration
    public int IndexOf(T item, int index)
    Parameters
    Type Name Description
    T item
    int index
    Returns
    Type Description
    int

    IndexOf(T, int, int)

    Searches for the specified object and returns the index of the first occurrence within the range of items in the list that starts at the specified index and contains the specified number of items.

    Declaration
    public int IndexOf(T item, int index, int count)
    Parameters
    Type Name Description
    T item
    int index
    int count
    Returns
    Type Description
    int
    © Singulink. All rights reserved.