_CommandBarComboBox.Move Method (Object, Object)
Moves the specified command bar control to an existing command bar.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Function Move ( _
Bar As Object, _
Before As Object _
) As CommandBarControl
'Usage
Dim instance As _CommandBarComboBox
Dim Bar As Object
Dim Before As Object
Dim returnValue As CommandBarControl
returnValue = instance.Move(Bar, Before)
CommandBarControl Move(
Object Bar,
Object Before
)
Parameters
Bar
Type: System.ObjectOptional Object. A CommandBar object that represents the destination command bar for the control. If this argument is omitted, the control is moved to the end of the command bar where the control currently resides.
Before
Type: System.ObjectOptional Object. A number that indicates the position for the control. The control is inserted before the control currently occupying this position. If this argument is omitted, the control is inserted on the same command bar.
Return Value
Type: Microsoft.Office.Core.CommandBarControl
Implements
CommandBarControl.Move(Object, Object)