RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAggregates.Items Property

Provides indexed access to the TAggregate objects in the collection.

Pascal
property Items [Index: Integer]: TAggregate;
C++
__property TAggregate Items[int Index];

Use Items to access individual TAggregate objects maintained by TAggregates

In Delphi, Items is the default property of TAggregates, so the name of the Items property can be left off when using this property. Thus the line

FirstAggregate := TClientDataSet1.Aggregates.Items[0];

can be written

FirstAggregate := TClientDataSet1.Aggregates[0];

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!