Método IVsSplitPane.SetPosition
Define a posição relativa à janela pai.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.dll)
Sintaxe
'Declaração
Function SetPosition ( _
iLeft As Integer, _
iTop As Integer, _
iRight As Integer, _
iBottom As Integer _
) As Integer
int SetPosition(
int iLeft,
int iTop,
int iRight,
int iBottom
)
int SetPosition(
[InAttribute] int iLeft,
[InAttribute] int iTop,
[InAttribute] int iRight,
[InAttribute] int iBottom
)
abstract SetPosition :
iLeft:int *
iTop:int *
iRight:int *
iBottom:int -> int
function SetPosition(
iLeft : int,
iTop : int,
iRight : int,
iBottom : int
) : int
Parâmetros
iLeft
Tipo: Int32[in] O lado esquerdo.
iTop
Tipo: Int32[in] Na parte superior.
iRight
Tipo: Int32[in] O lado direito.
iBottom
Tipo: Int32[in] Na parte inferior.
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::SetPosition(
[in] long iLeft,
[in] long iTop,
[in] long iRight,
[in] long iBottom
);
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.