[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TCollection.Count

Number of items in the collection.

Declaration

Source position: classesh.inc line 410

public property TCollection.Count: Integer
  read GetCount;

Description

Countcontains the number of items in the collection.

Remark: The items in the collection are identified by their TCollectionItem.Indexproperty, which is a zero-based index, meaning that it can take values between 0and Count.

See also

TCollectionItem.Index

  

Index of the item in its managing collection TCollection.Itemsproperty.

TCollection.Items

  

Indexed array of items in the collection.