Partager via


IVsButtonBar.SetHeight Method

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

Syntax

'Déclaration
Function SetHeight ( _
    iHeight As Integer _
) As Integer
'Utilisation
Dim instance As IVsButtonBar
Dim iHeight As Integer
Dim returnValue As Integer

returnValue = instance.SetHeight(iHeight)
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

IVsButtonBar Members

Microsoft.VisualStudio.TextManager.Interop Namespace