This document is archived and information here might be outdated. Recommended version. |
Docks or undocks this commandbar.
[Visual Basic .NET] Public Sub Dock ( _ ByVal dockFlags As esriDockFlags, _ [ByVal referenceBar As ICommandBar] _ )
[C#] public void Dock ( esriDockFlags dockFlags, ICommandBar referenceBar );
dockFlags specifies whether the commandbar is docked or where it is docked. Use one of the esriDockFlags constants.
referenceBar is an ICommandBar object that is to be used as a location reference. [Optional]