_Global.CommandBars _Global.CommandBars _Global.CommandBars Property

Definition

Returns a Microsoft.Office.Core.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; }
Public ReadOnly Property CommandBars As CommandBars
Property Value
Microsoft.Office.Core.CommandBars Microsoft.Office.Core.CommandBars Microsoft.Office.Core.CommandBars

Remarks

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

Applies to