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 获取一个代表CommandBarControls对象 (可与自动化对象一起使用此属性可返回该对象的容器应用程序) 的容器应用程序的Application对象。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 获取一个指示在其中创建CommandBarControls对象的应用程序的 32 位整数。Gets a 32-bit integer that indicates the application in which the CommandBarControls object was created. 只读。Read-only.
ItemItem 获取一个CommandBarControl对象从CommandBarControls集合。Gets a CommandBarControl object from the CommandBarControls collection. 只读。Read-only.
ParentParent 获取CommandBarControls对象的对象。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.