編輯

共用方式為


_Application.CommandBars Property

Definition

Returns a CommandBars collection that represents the menu bar and all the toolbars in 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

Property Value

Remarks

Use the CustomizationContext property to set the template or document context prior to accessing the CommandBars collection.

Applies to