CommandBarControl::Move Method (Object^, Object^)
Visual Studio 2015
Moves this control to the specified command bar at the specified position.
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Parameters
- Bar
-
Type:
System::Object^
[in, optional] The MsoControlType of the moved control. If this parameter is not specified, the default value is msoControlButton.
- Before
-
Type:
System::Object^
[in, optional] An integer representing the index of the moved control. If this parameter is not specified, the new control is added at the end of the target command bar.
The collection of controls on the command bar is 1-based.
Show: