Datasnap.DBClient.TAggregates.IndexOf
Delphi
function IndexOf(const DisplayName: string): Integer;
C++
int __fastcall IndexOf(const System::UnicodeString DisplayName);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Datasnap.DBClient.pas Datasnap.DBClient.hpp |
Datasnap.DBClient | TAggregates |
Description
Returns the index of the TAggregate object with a specified name.
Call IndexOf to obtain the index of a specified TAggregate object in the Items property array. The DisplayName parameter specifies the value of the aggregate's AggregateName property. If there is no aggregate with the specified name in the Items property array, IndexOf returns -1.