CommandBars property
Collapse the table of content
Expand the table of content

_Document.CommandBars property

Returns a CommandBars collection that represents the menu bar and all the toolbars in Microsoft Word.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

CommandBars CommandBars { get; }

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

© 2015 Microsoft