CommandBarControls 成员 (Office)CommandBarControls members (Office)

CommandBarControl对象的集合, 这些对象代表命令栏上的命令栏控件。A collection of CommandBarControl objects that represent the command bar controls on a command bar.

方法Methods

名称Name 说明Description
AddAdd 新建一个 CommandBarControl 对象并将其添加到指定命令栏上的控件集合中。Creates a new CommandBarControl object and adds it to the collection of controls on the specified command bar.

属性Properties

名称Name 说明Description
ApplicationApplication 获取一个 Application 对象,代表 CommandBarControls 对象的容器应用程序(可以使用 Automation 对象的此属性返回该对象的容器应用程序)。Gets an Application object that represents the container application for the CommandBarControls object (you can use this property with an Automation object to return that object's container application). 只读。Read-only.
CountCount 获取命令栏上的控件数量。Gets a count of the numbers of controls on a command bar. 只读。Read-only.
CreatorCreator 获取一个 32 位整数,指示创建 CommandBarControls 对象时所使用的应用程序。Gets a 32-bit integer that indicates the application in which the CommandBarControls object was created. 只读。Read-only.
Item 获取 CommandBarControls 集合中的一个 CommandBarControl 对象。Gets a CommandBarControl object from the CommandBarControls collection. 只读。Read-only.
ParentParent 获取 CommandBarControls 对象的 Parent 对象。Gets the Parent object for the CommandBarControls object. 只读。Read-only.

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.