_CommandBarComboBox.Move(Object, Object) 方法

定义

将此控件移动到指定位置处的指定命令栏。

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

参数

Bar
Object

CommandBar 向其复制控件的。

Before
Object

命令栏上将其复制到的位置。

返回

CommandBarControl

已移动的控件。

实现

属性

注解

命令栏上的控件集合是从1开始的。

适用于