IVsSplitPane.SetPosition Method
Sets the position relative to the parent window.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
声明
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
Parameters
- iLeft
Type: System.Int32
[in] The left side.
- iTop
Type: System.Int32
[in] The top.
- iRight
Type: System.Int32
[in] The right side.
- iBottom
Type: System.Int32
[in] The bottom.
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::SetPosition(
[in] long iLeft,
[in] long iTop,
[in] long iRight,
[in] long iBottom
);
.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.