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];

 

Aggregates 

operator_sb

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!