Share via


MenuItem.Parent Property

Visio Automation Reference

Determines the parent of an object. Read-only.

Version Information
 Version Added:  Visio 3.0

Syntax

expression.Parent

expression   A variable that represents a MenuItem object.

Return Value
MenuItems

Remarks

In general, an object's parent is the object that contains it. For example, the parent of a Menu object is the Menus collection that contains the Menu object, or the parent of a Window object is the Windows collection that contains the Window object.

See Also