Table of contents
TOC
折叠目录
展开目录

Toolbars.Add 方法 (Visio)Toolbars.Add Method (Visio)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

将新对象添加到集合。Adds a new object to a collection.

语法Syntax

表达式添加expression . Add

表达式_一个表示Toolbars集合的变量。_expression A variable that represents a Toolbars collection.

返回值Return Value

ToolbarToolbar

注解Remarks

请注意 从 Visio,Microsoft Office 流畅的用户界面 (UI) 替换的前一个系统的分层的菜单、 工具栏和任务窗格。VBA 对象和用于自定义用户界面,在 Visio 的以前版本中的成员仍可在 Visio 中,但它们的功能有所不同。Note Starting with Visio, the Microsoft Office Fluent user interface (UI) replaces the previous system of layered menus, toolbars, and task panes. VBA objects and members that you used to customize the user interface in previous versions of Visio are still available in Visio, but they function differently.

新对象的所有属性都初始化为零,因此只需要设置您要更改的属性。All properties of the new object are initialized to zero, so you need to set only the properties that you want to change.

© 2018 Microsoft