CommandBarButtonClass.Move 方法

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

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

语法

声明
Public Overridable Function Move ( _
    Bar As Object, _
    Before As Object _
) As CommandBarControl
public virtual CommandBarControl Move(
    Object Bar,
    Object Before
)

参数

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

返回值

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

实现

_CommandBarButton.Move(Object, Object)

备注

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

.NET Framework 安全性

请参见

参考

CommandBarButtonClass 类

Microsoft.VisualStudio.CommandBars 命名空间