CommandBarControls 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示命令栏上命令栏控件的 对象的集合 CommandBarControl 。
public interface class CommandBarControls : Microsoft::Office::Core::_IMsoDispObj, System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("000C0306-0000-0000-C000-000000000046")]
public interface CommandBarControls : Microsoft.Office.Core._IMsoDispObj, System.Collections.IEnumerable
[<System.Runtime.InteropServices.Guid("000C0306-0000-0000-C000-000000000046")>]
type CommandBarControls = interface
interface _IMsoDispObj
interface IEnumerable
Public Interface CommandBarControls
Implements _IMsoDispObj, IEnumerable
- 属性
- 实现
注解
Controls使用 属性可返回 CommandBarControls 集合。
Add(Object, Object, Object, Object, Object)使用 方法将新的命令栏控件添加到 CommandBarControls 集合。
使用 Controls (index
) (其中 index
是控件的标题或索引号)可返回 CommandBarControl、 CommandBarButton、 CommandBarComboBox或 CommandBarPopup 对象。
属性
Application |
返回一个 Application 对象,该对象代表该对象的容器应用程序。 |
Count |
返回或设置一个 Integer 类型的值,该值指示指定集合中的项数。 |
Creator |
返回一个 32 位整数,它指示在其中创建指定的对象的应用程序。 |
Item[Object] |
从集合中CommandBarControls返回 对象CommandBarControl。 |
Parent |
返回指定对象的 Parent 对象。 |
方法
Add(Object, Object, Object, Object, Object) |
创建一个新 CommandBarControl 对象,并将其添加到指定命令栏上的控件集合。 |
GetEnumerator() |
表示命令栏上命令栏控件的 对象的集合 CommandBarControl 。 |