Objects: Procedures, Reports, Transactions, Web Panels, Work Panels
Languages: .NET, Java, Visual Basic
Interfaces: Web, Win
Return the Item relative position in the collection.
IndexOf(Item)
Type Returned:
Number
Where:
Item
Variable based on SDT
It returns the relative position, it 0 (zero) if the Item is not in the collection.
This method works with the elements references and not with their contents. This implies that if a variable with a list of SDT is received as parameter, and a temporary variable is loaded with an item content, IndexOff will return 0 (empty) since this reference is not within the list. It can be useful only the moment the list is loaded.
Note:
This only applies to SDT collections.