TdxListItems.IndexOf(TdxListItem) Method
Returns the specified item’s index in the collection.
Declaration
function IndexOf(AValue: TdxListItem): Integer;
Parameters
Name | Type | Description |
---|---|---|
AValue | TdxListItem | A list item. |
Returns
Type | Description |
---|---|
Integer | The item’s index in the collection. |
Remarks
An IndexOf function call returns -1 if the specified item is not in the collection.
See Also