IVsSplitter.GetPane Method

Returns the indicated pane (index can be 0 (primary), or 1 (secondary)).

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

Syntax

'宣言
Function GetPane ( _
    iIndex As Integer, _
    <OutAttribute> ByRef ppPane As IVsSplitPane _
) As Integer
'使用
Dim instance As IVsSplitter
Dim iIndex As Integer
Dim ppPane As IVsSplitPane
Dim returnValue As Integer

returnValue = instance.GetPane(iIndex, _
    ppPane)
int GetPane(
    int iIndex,
    out IVsSplitPane ppPane
)
int GetPane(
    [InAttribute] int iIndex, 
    [OutAttribute] IVsSplitPane^% ppPane
)
function GetPane(
    iIndex : int, 
    ppPane : IVsSplitPane
) : 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::GetPane([in] long iIndex, [out] IVsSplitPane **ppPane);

Permissions

See Also

Reference

IVsSplitter Interface

IVsSplitter Members

Microsoft.VisualStudio.TextManager.Interop Namespace