MenuItems collection

Microsoft Visio Developer Reference

MenuItems collection

           Events

Menus (Menu) MenuItems (MenuItem) MenuItems (MenuItem)

Contains a MenuItem object for each command on a Microsoft Visio menu.

To retrieve a MenuItems collection, use the MenuItems property of a Menu object or a MenuItem object.

Version added

4.0

Remarks

The default property of MenuItems is Item.

Unlike other Visio collections, the MenuItems collection is indexed starting with zero (0) rather than 1.