MenuSets property
Returns the MenuSets collection of a UIObject object.
Version added
4.0
Syntax
| |
objRet |
The MenuSets collection of a UIObject object. |
object |
Required. An expression that returns the UIObject object that owns the collection. |
Remarks
If a UIObject object represents menus and accelerators (for example, if the object was retrieved using the BuiltInMenus property of an Application or Document object), its MenuSets collection represents all of the menus for that UIObject object.
Use the ItemAtID property of a MenuSets object to retrieve menus for a particular window context such as the drawing window. If a context does not include menus, it has no MenuSets collection.