다음을 통해 공유


CommandBarComboBoxClass.Move Method

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

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

‘선언
Public Overridable Function Move ( _
    Bar As Object, _
    Before As Object _
) As CommandBarControl
‘사용 방법
Dim instance As CommandBarComboBoxClass
Dim Bar As Object
Dim Before As Object
Dim returnValue As CommandBarControl

returnValue = instance.Move(Bar, Before)
public virtual CommandBarControl Move(
    Object Bar,
    Object Before
)
public:
virtual CommandBarControl^ Move(
    [InAttribute] Object^ Bar, 
    [InAttribute] Object^ Before
)
abstract Move : 
        Bar:Object * 
        Before:Object -> CommandBarControl 
override Move : 
        Bar:Object * 
        Before:Object -> CommandBarControl 
public function Move(
    Bar : Object, 
    Before : Object
) : CommandBarControl

Parameters

  • Before
    Type: System.Object
    The position on the command bar to which to copy it.

Return Value

Type: Microsoft.VisualStudio.CommandBars.CommandBarControl
The moved control.

Implements

_CommandBarComboBox.Move(Object, Object)

Remarks

The collection of controls on the command bar is 1-based.

.NET Framework Security

See Also

Reference

CommandBarComboBoxClass Class

CommandBarComboBoxClass Members

Microsoft.VisualStudio.CommandBars Namespace