CommandBarPopup.Move 方法 (Object, Object)

将此控件移至指定的命令栏在指定的位置。

命名空间:  Microsoft.VisualStudio.CommandBars
程序集:  Microsoft.VisualStudio.CommandBars(在 Microsoft.VisualStudio.CommandBars.dll 中)

语法

声明
Function Move ( _
    Bar As Object, _
    Before As Object _
) As CommandBarControl
CommandBarControl Move(
    Object Bar,
    Object Before
)

参数

  • Before
    类型:System.Object
    在复制它的命令栏上的位置。

返回值

类型:Microsoft.VisualStudio.CommandBars.CommandBarControl
移动的控件。

备注

控件的集合在命令栏的 1 开始。

.NET Framework 安全性

请参见

参考

CommandBarPopup 接口

Move 重载

Microsoft.VisualStudio.CommandBars 命名空间