Freigeben über


IVsSplitPane.SetPosition-Methode

Legt die Position relativ zum übergeordneten Fenster fest.

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

Parameter

  • iLeft
    Typ: Int32

    [in] Die linke Seite.

  • iTop
    Typ: Int32

    [in] Oben.

  • iRight
    Typ: Int32

    [in] Die rechte Seite.

  • iBottom
    Typ: Int32

    [in] Die unten.

Rückgabewert

Typ: Int32
Wenn die Methode erfolgreich ausgeführt, gibt sie S_OKzurück.Bei einem Fehler wird ein Fehlercode zurückgegeben.

Hinweise

COM-Signatur

Von textmgr.idl:

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

.NET Framework-Sicherheit

Siehe auch

Referenz

IVsSplitPane Schnittstelle

Microsoft.VisualStudio.TextManager.Interop-Namespace