This document is archived and information here might be outdated. Recommended version. |
The commandbars collection in this document.
[Visual Basic .NET] Public ReadOnly Property CommandBars As ICommandBars
[C#] public ICommandBars CommandBars {get;}
CommandBars is a collection of all the toolbars available to a document. The ICommandBars interface allows you to set properties for all the commandbars and to create, find, or hide commandbars.
IDocument Interface | ICommandBars Interface