Classification
Description
The ListIndexOf term searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the List that extends from the specified index to the last element, if found; otherwise, –1.
Return Value
The Term returns the value, see table below.
|
|
In OTX, Terms are categorized according to its return data type!
|
Data Type |
Description
|
Integer |
The index of an item
|
Properties
Name |
Data Type |
Class |
Default |
Cardinality |
Description
|
List |
List |
Term |
- |
[1] |
List that will be searched.
|
Item |
- |
Term |
- |
[1] |
The object to locate in the List. The data type of the value shall be matched with the datatype of the list.
|
Index |
Integer |
Term |
- |
[1] |
The zero-based starting index of the search. 0 (zero) is valid in an empty list. Default value is 0 (zero).
|
See also
TermIsEmpty