Bagikan melalui


IVsSplitter.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

'Declaration
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

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsSplitPane.SetPosition(Int32, Int32, Int32, Int32)

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsSplitter::SetPosition(
   [in] long iLeft,
   [in] long iTop,
   [in] long iRight,
   [in] long iBottom
);

.NET Framework Security

See Also

Reference

IVsSplitter Interface

Microsoft.VisualStudio.TextManager.Interop Namespace