Calitha GOLD Parser Engine Documentation

IntegerList.IndexOf Method (Int32, Int32, Int32)

Searches for the specified Object and returns the zero-based index of the first occurrence within the section of the list that starts at the specified index and contains the specified number of elements.

public int IndexOf(
   int value,
   int startIndex,
   int count
);

Parameters

value
The value to locate in the list.
startIndex
The zero-based starting index of the search.
count
The number of elements in the section to search.

Return Value

The zero-based index of the first occurrence of value within the section of the ArrayList that starts at startIndex and contains count number of elements, if found; otherwise, -1.

See Also

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