This document is archived and information here might be outdated.  Recommended version.

IDocument.CommandBars Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > ID > IDocument Interface > IDocument.CommandBars Property
ArcGIS Developer Help

IDocument.CommandBars Property

The commandbars collection in this document.

[Visual Basic .NET]
Public ReadOnly Property CommandBars As ICommandBars
public ICommandBars CommandBars {get;}

Product Availability

Available with ArcGIS Desktop.


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.


See Also

IDocument Interface | ICommandBars Interface