Returns mins and maxes for this pane.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'宣言
Function GetSizeExtents ( _
<OutAttribute> ByRef piMinHorz As Integer, _
<OutAttribute> ByRef piMaxHorz As Integer, _
<OutAttribute> ByRef piMinVert As Integer, _
<OutAttribute> ByRef piMaxVert As Integer _
) As Integer
'使用
Dim instance As IVsSplitPane
Dim piMinHorz As Integer
Dim piMaxHorz As Integer
Dim piMinVert As Integer
Dim piMaxVert As Integer
Dim returnValue As Integer
returnValue = instance.GetSizeExtents(piMinHorz, _
piMaxHorz, piMinVert, piMaxVert)
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
)
function GetSizeExtents(
piMinHorz : int,
piMaxHorz : int,
piMinVert : int,
piMaxVert : int
) : int
Parameters
piMinHorz
Type: System.Int32%[out]
piMaxHorz
Type: System.Int32%[out]
piMinVert
Type: System.Int32%[out]
piMaxVert
Type: System.Int32%[out]
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 IVsSplitPane::GetSizeExtents(
[out] long *piMinHorz,
[out] long *piMaxHorz,
[out] long *piMinVert,
[out] long *piMaxVert
);
E_NOTIMPL is allowed; 0 and full screen are defaults.
Permissions
- 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.