_Document.CommandBars 属性

定义

返回一个CommandBars集合,该集合代表菜单栏和 Microsoft Word中的所有工具栏。

public:
 property Microsoft::Office::Core::CommandBars ^ CommandBars { Microsoft::Office::Core::CommandBars ^ get(); };
public Microsoft.Office.Core.CommandBars CommandBars { get; }
member this.CommandBars : Microsoft.Office.Core.CommandBars
Public ReadOnly Property CommandBars As CommandBars

属性值

注解

CustomizationContext在访问 CommandBars 集合之前,使用 属性设置模板或文档上下文。

适用于