MenuItems property

Microsoft Visio Developer Reference

MenuItems property

       

Returns the MenuItems collection of a Menu or MenuItem object.

Version added

4.0

Syntax

objRet = object.MenuItems

objRet

The MenuItems collection of the object.

object

Required. An expression that returns a Menu or MenuItem object that owns the collection.

Remarks

If a Menu object represents a hierarchical menu, its MenuItems collection contains submenu items. Otherwise, its MenuItems collection is empty.