Share via


IVsButtonBar.SetHeight Method

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

Syntax

'Declaration
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

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 Buttonbar.

.NET Framework Security

See Also

Reference

IVsButtonBar Interface

Microsoft.VisualStudio.TextManager.Interop Namespace