RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDependencies.Items Property

Lists the dependency objects in the dependencies collection.

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

The value of the Index parameter corresponds to the Index property of each TDependency object in the collection. It represents the position of the dependency object in the dependencies collection.

Note: In Delphi, Items is the default property of TDependencies. This means that you can omit the property names. For example
Note: Service1.Dependencies.Items[i]
Note: can be written
Note: Service1.Dependencies[i]
Note: In C++, Items can be accessed using the [] operator, to achieve an affect similar to the default property in Delphi.
 

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