ToolbarSets property

Microsoft Visio Developer Reference

ToolbarSets property

       

Returns the ToolbarSets collection of a UIObject object.

Version added

4.0

Syntax

objRet = object.ToolbarSets

objRet

The ToolbarSets collection of the UIObject object.

object

Required. An expression that returns a UIObject object.

Remarks

If a UIObject object represents toolbars and status bars (for example, if the object was retrieved using the BuiltInToolbars property of an Application object), its ToolbarSets collection represents all of the toolbars for that UIObject object.

Use the ItemAtID property of a ToolbarSets object to retrieve toolbars for a particular window context, for example, the drawing window. If a context does not include toolbars, it has no ToolbarSets collection.