_CommandBarComboBox.Move(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Moves this control to the specified command bar at the specified position.
Microsoft::VisualStudio::CommandBars::CommandBarControl Move(winrt::Windows::Foundation::IInspectable const & Bar, winrt::Windows::Foundation::IInspectable const & Before);
[System.Runtime.InteropServices.DispId(1610874902)]
public Microsoft.VisualStudio.CommandBars.CommandBarControl Move (object Bar, object Before);
[<System.Runtime.InteropServices.DispId(1610874902)>]
abstract member Move : obj * obj -> Microsoft.VisualStudio.CommandBars.CommandBarControl
Public Function Move (Optional Bar As Object, Optional Before As Object) As CommandBarControl
Parameters
- Bar
- Object
The CommandBar to which to copy the control.
- Before
- Object
The position on the command bar to which to copy it.
Returns
The moved control.
Implements
- Attributes
Remarks
The collection of controls on the command bar is 1-based.