RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TLocateParamsList.Items Property

Lists the key field/value lists for all the adapters that use this object to store their locate parameters.

Pascal
property Items [I: Integer]: TLocateParams;
C++
__property TLocateParams Items[int I];

Use Items to obtain a TLocateParams object given its position in the list. Each TLocateParams object holds the list of key fields and values for a single dataset adapter. 

I is the index of the TLocateParams object, where 0 specifies the first item, 1 specifies the second item, and so on. The Count property gives an upper bound for this index.

Note: In Delphi, Items is the default property of TLocateParamsList. That means the property name may be omitted in code. For example, the line
Note: List := DataSetAdapter1.LocateParams.Items[0];
Note: can also be written
Note: List := DataSetAdapter1.LocateParams[0];
Note: Items provides indexed access to the key field/value lists. To access the list for a specified dataset adapter, use the ItemByAdapterName method instead.
 

 

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