System.Classes.TCollection.Count

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Count: Integer read GetCount;

C++

__property int Count = {read=GetCount, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.Classes.pas
System.Classes.hpp
System.Classes TCollection

Description

Returns the number of items in the collection.

Count contains the number of items in the Items array. Since Items is indexed starting with 0, the value of Count is always one greater than the index of the last member of Items.

See Also

Code Examples