Datasnap.DBClient.TAggregates.Items

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Items[Index: Integer]: TAggregate read GetItem write SetItem; default;

C++

__property TAggregate* Items[int Index] = {read=GetItem, write=SetItem/*, default*/};

Properties

Type Visibility Source Unit Parent
property public
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Datasnap.DBClient TAggregates

Description

Provides indexed access to the TAggregate objects in the collection.

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



See Also