Share via


IVsSplitter.GetPane Method

Returns the indicated pane.

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

Syntax

'Declaration
Function GetPane ( _
    iIndex As Integer, _
    <OutAttribute> ByRef ppPane As IVsSplitPane _
) As Integer
int GetPane(
    int iIndex,
    out IVsSplitPane ppPane
)
int GetPane(
    [InAttribute] int iIndex, 
    [OutAttribute] IVsSplitPane^% ppPane
)
abstract GetPane : 
        iIndex:int * 
        ppPane:IVsSplitPane byref -> int 
function GetPane(
    iIndex : int, 
    ppPane : IVsSplitPane
) : int

Parameters

  • iIndex
    Type: System.Int32
    [in] The index of the pane. iIndex can be 0 (primary) or 1 (secondary)

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::GetPane([in] long iIndex, [out] IVsSplitPane **ppPane);

.NET Framework Security

See Also

Reference

IVsSplitter Interface

Microsoft.VisualStudio.TextManager.Interop Namespace