Collections Collections
Collections Collections
DocFX + Singulink = ♥

Search Results for

    Method FindIndex

    FindIndex(int, int, Predicate<TValue>)

    Searches for an element that matches the conditions defined by the specified predicate, and returns the index of the first occurrence within the range of elements in the list that starts at the specified index and contains the specified number of elements.

    Declaration
    public int FindIndex(int startIndex, int count, Predicate<TValue> match)
    Parameters
    Type Name Description
    int startIndex
    int count
    Predicate<TValue> match
    Returns
    Type Description
    int

    FindIndex(int, Predicate<TValue>)

    Searches for an element that matches the conditions defined by the specified predicate, and returns the index of the first occurrence within the range of elements in the list that extends from the specified index to the last element.

    Declaration
    public int FindIndex(int startIndex, Predicate<TValue> match)
    Parameters
    Type Name Description
    int startIndex
    Predicate<TValue> match
    Returns
    Type Description
    int

    FindIndex(Predicate<TValue>)

    Searches for an element that matches the conditions defined by the specified predicate, and returns the index of the first occurrence within the entire list.

    Declaration
    public int FindIndex(Predicate<TValue> match)
    Parameters
    Type Name Description
    Predicate<TValue> match
    Returns
    Type Description
    int
    © Singulink. All rights reserved.