Partager via


IVsButtonBar Interface

Definition

Provides a set buttons at the bottom of a code window.

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(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsButtonBar
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("4C4095EC-0AF1-48B2-A900-DB496765EE9E")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsButtonBar = interface
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("4C4095EC-0AF1-48B2-A900-DB496765EE9E")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsButtonBar = interface
Public Interface IVsButtonBar
Attributes

Methods

Attach(IntPtr, Int32, IntPtr, IVsButtonBarClient)

Creates window/button combinations.

Detach()

Breaks the link between a button bar and its client.

GetClient(IVsButtonBarClient)

Returns the client associated with a button bar.

GetCurrentSelection(Int32)

Returns the number of the button that is currently pressed.

GetSize(Int32, Int32)

Gets the size of the button bar.

SetCurrentSelection(Int32)

Specifies The button that is selected.

SetHeight(Int32)

Specifies the height of the button bar.

Applies to