Compartilhar via


IVsButtonBar.SetHeight Method

Specifies the height of the button bar.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaração
Function SetHeight ( _
    iHeight As Integer _
) As Integer
int SetHeight(
    int iHeight
)
int SetHeight(
    [InAttribute] int iHeight
)
abstract SetHeight : 
        iHeight:int -> int 
function SetHeight(
    iHeight : int
) : int

Parameters

  • iHeight
    Type: System.Int32
    [in] The height of the button bar.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsButtonBar::SetHeight(
   [in] long iHeight
);

IVsButtonBar.SetHeight is called by the parent; clients need not call this unless writing another owner for the button bar.

.NET Framework Security

See Also

Reference

IVsButtonBar Interface

Microsoft.VisualStudio.TextManager.Interop Namespace