CommandBarControl::Copy Method (Object^, Object^)
Visual Studio 2015
Copies this control to the specified position on the specified command bar.
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Parameters
- Bar
-
Type:
System::Object^
[in, optional] The MsoControlType of the new 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 copied 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: