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

Menu.CmdNum 属性 (Visio)Menu.CmdNum Property (Visio)

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

获取或设置与菜单相关联的命令 ID。可读写。Gets or sets the command ID associated with a menu. Read/write.

语法Syntax

表达式CmdNumexpression . CmdNum

表达式_一个表示菜单对象的变量。_expression A variable that represents a Menu object.

返回值Return Value

IntegerInteger

注解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.

有效的命令 Id 都由VisUICmds中的 Visio 类型库声明。它们具有前缀visCmdValid command IDs are declared by the Visio type library in VisUICmds . They have the prefix visCmd .

© 2018 Microsoft