IVsButtonBar 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供代码窗口底部的 "设置" 按钮。
public interface class IVsButtonBar
public interface class IVsButtonBar
__interface IVsButtonBar
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("4C4095EC-0AF1-48B2-A900-DB496765EE9E")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsButtonBar
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("4C4095EC-0AF1-48B2-A900-DB496765EE9E")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsButtonBar = interface
Public Interface IVsButtonBar
- 属性
方法
| Attach(IntPtr, Int32, IntPtr, IVsButtonBarClient) |
创建窗口/按钮组合。 |
| Detach() |
断开按钮栏与其客户端之间的链接。 |
| GetClient(IVsButtonBarClient) |
返回与按钮栏关联的客户端。 |
| GetCurrentSelection(Int32) |
返回当前按下的按钮的编号。 |
| GetSize(Int32, Int32) |
获取按钮栏的大小。 |
| SetCurrentSelection(Int32) |
指定选定的按钮。 |
| SetHeight(Int32) |
指定按钮栏的高度。 |