Retrieves the number of children items.
Type | Description | |||
Item as HITEM | A long expression that indicates the item's handle. | |||
Long | A long value that indicates the number of child items. |
Use the ChildCount property checks whether an item has child items. Use the ItemChild property to get the first child item, if there is one, 0 else. Use the ItemHasChildren property to specify whether the item should display a +/- sign even if it contains no child items.