IVsButtonBar.GetSize Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Déclaration
Function GetSize ( _
<OutAttribute> ByRef piWidth As Integer, _
ByRef piHeight As Integer _
) As Integer
'Utilisation
Dim instance As IVsButtonBar
Dim piWidth As Integer
Dim piHeight As Integer
Dim returnValue As Integer
returnValue = instance.GetSize(piWidth, _
piHeight)
int GetSize(
out int piWidth,
ref int piHeight
)
int GetSize(
[OutAttribute] int% piWidth,
int% piHeight
)
abstract GetSize :
piWidth:int byref *
piHeight:int byref -> int
function GetSize(
piWidth : int,
piHeight : int
) : int
Parameters
- piWidth
Type: System.Int32%
[out]
- piHeight
Type: System.Int32%
[ref]
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::GetSize(
[out] long *piWidth, long *piHeight
);
The width is a function of height.
.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.