Compartilhar via


IVsButtonBar.SetHeight(Int32) Method

Definition

Specifies the height of the button bar.

public:
 int SetHeight(int iHeight);
public:
 int SetHeight(int iHeight);
int SetHeight(int iHeight);
public int SetHeight (int iHeight);
abstract member SetHeight : int -> int
Public Function SetHeight (iHeight As Integer) As Integer

Parameters

iHeight
Int32

[in] The height of the button bar.

Returns

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.

Applies to