SubItems (CommandBar)

This property returns an Items collection from an Item on a CommandBar control.

Syntax

item.SubItems

Parameters

item
Reference to an Item object from a CommandBarMenuBar.

Remarks

An Item object represents a command on a menu on a CommandBar control. Each Item is a member of an Items collection. Each Item has a SubItems property that returns an Items collection that contains the submenus of the Item. The SubItems property enables the CommandBar to have menus with submenus.