IVsSplitter.GetSizeExtents Method (Int32%, Int32%, Int32%, Int32%)
Returns the minimums and maximums for this pane (E_NOTIMPL is allowed; 0 and full screen are defaults).
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaração
Function GetSizeExtents ( _
<OutAttribute> ByRef piMinHorz As Integer, _
<OutAttribute> ByRef piMaxHorz As Integer, _
<OutAttribute> ByRef piMinVert As Integer, _
<OutAttribute> ByRef piMaxVert As Integer _
) As Integer
int GetSizeExtents(
out int piMinHorz,
out int piMaxHorz,
out int piMinVert,
out int piMaxVert
)
int GetSizeExtents(
[OutAttribute] int% piMinHorz,
[OutAttribute] int% piMaxHorz,
[OutAttribute] int% piMinVert,
[OutAttribute] int% piMaxVert
)
abstract GetSizeExtents :
piMinHorz:int byref *
piMaxHorz:int byref *
piMinVert:int byref *
piMaxVert:int byref -> int
function GetSizeExtents(
piMinHorz : int,
piMaxHorz : int,
piMinVert : int,
piMaxVert : int
) : int
Parameters
- piMinHorz
Type: System.Int32%
[out] The minimum horizontal size.
- piMaxHorz
Type: System.Int32%
[out] The maximum horizontal size.
- piMinVert
Type: System.Int32%
[out] The minimum vertical size.
- piMaxVert
Type: System.Int32%
[out] The maximum vertical size.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsSplitPane.GetSizeExtents(Int32%, Int32%, Int32%, Int32%)
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsSplitter::GetSizeExtents(
[out] long *piMinHorz,
[out] long *piMaxHorz,
[out] long *piMinVert,
[out] long *piMaxVert
);
.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.