MenuSets Collection

Visio Automation Reference

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

Version Information
 Version Added:  Visio 4.0

Remarks

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

The default property of a MenuSets collection 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.

See Also