Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Collection - ItemCount Property

Panel
bgColor#2c3c4c

ItemCount is the number of items in a collection

Member of Collection (PRIM_COLL)

Data Type - Integer

Details

The ItemCount property will return the number of items in the collection.

Example

In this example, a collection is only allowed a maximum of 50 items.

     If (#Collection.ItemCount <= 50) 

#Collection.insert(#Object)

Endif


See also

All Component Classes

Technical Reference