Datasnap.DBClient.TAggregates.IndexOf
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: Datasnap.DBClient.pas Datasnap.DBClient.hpp
| |
Unit: Datasnap.DBClient | |
Parent: TAggregates |
Delphi
function IndexOf(const DisplayName: string): Integer;
C++
int __fastcall IndexOf(const System::UnicodeString DisplayName);
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.