Navigation: Code Documentation > RSCommon > RSGenerics.Collections > Classes > TObjectStringList<T> > Methods
TObjectStringList<T>.IndexOfData(T) Method
Returns the index of the data item that equals the input AData parameter. If the data is not found, the function returns -1.
Namespace: RSGenerics.Collections
Delphi
public function IndexOfData(const AData: T): Integer; virtual;
Parameters
AData
Type: T
Type: Integer
•Data
•TObjectStringList<T>
•RSGenerics.Collections