IVsSplitter.SplitPane Method

Splits the indicated pane of this splitter.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

声明
Function SplitPane ( _
    pNewPane As IVsSplitPane, _
    iIndex As Integer, _
    iSize As Integer, _
    dwFlags As UInteger, _
    <OutAttribute> ByRef ppSplitter As IVsSplitter _
) As Integer
用法
Dim instance As IVsSplitter
Dim pNewPane As IVsSplitPane
Dim iIndex As Integer
Dim iSize As Integer
Dim dwFlags As UInteger
Dim ppSplitter As IVsSplitter
Dim returnValue As Integer

returnValue = instance.SplitPane(pNewPane, _
    iIndex, iSize, dwFlags, ppSplitter)
int SplitPane(
    IVsSplitPane pNewPane,
    int iIndex,
    int iSize,
    uint dwFlags,
    out IVsSplitter ppSplitter
)
int SplitPane(
    [InAttribute] IVsSplitPane^ pNewPane, 
    [InAttribute] int iIndex, 
    [InAttribute] int iSize, 
    [InAttribute] unsigned int dwFlags, 
    [OutAttribute] IVsSplitter^% ppSplitter
)
abstract SplitPane : 
        pNewPane:IVsSplitPane * 
        iIndex:int * 
        iSize:int * 
        dwFlags:uint32 * 
        ppSplitter:IVsSplitter byref -> int 
function SplitPane(
    pNewPane : IVsSplitPane, 
    iIndex : int, 
    iSize : int, 
    dwFlags : uint, 
    ppSplitter : IVsSplitter
) : int

Parameters

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 IVsSplitter::SplitPane(
   [in] IVsSplitPane *pNewPane,
   [in] long iIndex,
   [in] long iSize,
   [in] DWORD dwFlags,
   [out] IVsSplitter **ppSplitter
);

The provided pane can become either the primary or secondary pane of the newly created splitter pane, which replaces the indicated pane. The iSize parameter refers to the size of the new pane, regardless of if it is becoming the primary or secondary pane.

.NET Framework Security

See Also

Reference

IVsSplitter Interface

IVsSplitter Members

Microsoft.VisualStudio.TextManager.Interop Namespace