System.Classes.TCollection.Count
Delphi
property Count: Integer read GetCount;
C++
__property int Count = {read=GetCount, nodefault};
Inhaltsverzeichnis
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
property | public | System.Classes.pas System.Classes.hpp |
System.Classes | TCollection |
Beschreibung
Gibt die Anzahl der Elemente in der Kollektion zurück.
Count enthält die Anzahl der Elemente im Array Items. Da der Index von Items bei 0 beginnt, ist der Wert von Count immer um eins größer als der Index des letzten Arrayelements.
Siehe auch
Codebeispiele
- BeginUpdate (Delphi)
- IndexName (Delphi)
- TParamsItems (Delphi)
- BeginUpdate (C++)
- IndexName (C++)
- TParamsItems (C++)