property Items.ItemCount as Long

Retrieves the number of items.

TypeDescription
Long A long value that indicates the number of items into Items collection

The ItemCount property counts the items in the control. Use the ItemByIndex property to access an item giving its index. Use the AddItem, InsertItem, InsertControlItem, DataSource property to add new items to the control. Use ChildCount to get the number of child items.