MenuSets collection

Microsoft Visio Developer Reference

MenuSets collection

           Events

UIObject MenuSets (MenuSet) Menus (Menu)

Includes a MenuSet object for each Microsoft Visio window context that has menus.

To retrieve a MenuSets collection, use the MenuSets property of a UIObject object.

Version added

4.0

Remarks

The default property of MenuSets is Item.

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

A MenuSet object is identified in the MenuSets collection by its SetID property, which corresponds to a Visio window context. For a list of SetID values for MenuSet objects, see the SetID property.