Calitha GOLD Parser Engine Documentation

IntegerList.LastIndexOf Method (Int32, Int32)

Searches for the specified value and returns the zero-based index of the last occurrence within the section of the list that extends from the first element to the specified index

public int LastIndexOf(
   int value,
   int startIndex
);

Parameters

value
The value to search for.
startIndex
The zero-based starting index of the backward search.

Return Value

The zero-based index of the last occurrence of value within the section of the list that extends from the first element to startIndex, if found; otherwise, -1.

See Also

IntegerList Class | com.calitha.commons Namespace | IntegerList.LastIndexOf Overload List