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
- iHeight
Type: System.Int32
[in]
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.