Vcl.SvcMgr.TDependencies.Items

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
property public
Vcl.SvcMgr.pas
Vcl.SvcMgr.hpp
Vcl.SvcMgr TDependencies

Description

Lists the dependency objects in the dependencies collection.

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,Service1.Dependencies.Items[i]can be written:Service1.Dependencies[i]

In C++, Items can be accessed using the [] operator, to achieve an affect similar to the default property in Delphi.

See Also