Share via


CommandBarComboBoxClass.Move(Object, Object) Method

Definition

Moves this control to the specified command bar at the specified position.

 virtual Microsoft::VisualStudio::CommandBars::CommandBarControl Move(winrt::Windows::Foundation::IInspectable const & Bar, winrt::Windows::Foundation::IInspectable const & Before);
[System.Runtime.InteropServices.DispId(1610874902)]
public virtual Microsoft.VisualStudio.CommandBars.CommandBarControl Move (object Bar, object Before);
[<System.Runtime.InteropServices.DispId(1610874902)>]
abstract member Move : obj * obj -> Microsoft.VisualStudio.CommandBars.CommandBarControl
override this.Move : obj * obj -> Microsoft.VisualStudio.CommandBars.CommandBarControl
Public Overridable 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.

Applies to