Método IVsSplitPane.GetSizeExtents
Retorna os valores de tamanho mínimo e máximo para esse painel.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.dll)
Sintaxe
'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
Parâmetros
piMinHorz
Tipo: Int32%[out] O tamanho mínimo horizontal.
piMaxHorz
Tipo: Int32%[out] O tamanho horizontal máximo.
piMinVert
Tipo: Int32%[out] O tamanho mínimo vertical.
piMaxVert
Tipo: Int32%[out] O tamanho máximo vertical.
Valor de retorno
Tipo: Int32
Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.
Comentários
COM assinatura
De textmgr.idl:
HRESULT IVsSplitPane::GetSizeExtents(
[out] long *piMinHorz,
[out] long *piMaxHorz,
[out] long *piMinVert,
[out] long *piMaxVert
);
E_NOTIMPLé permitido; tela cheia e 0 são padrões.
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.