
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
LANSA Version 15, April 2020