IVsSplitter.GetPane 方法

返回指示的窗格。

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop(在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

语法

声明
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

参数

  • iIndex
    类型:Int32

    [in] 窗格的索引。 iIndex 可以是 0 (主) 或 1 (次要)

返回值

类型:Int32
如果方法成功,则返回 S_OK。如果失败,它会返回一个错误代码。

备注

COM 签名

从 textmgr.idl:

HRESULT IVsSplitter::GetPane([in] long iIndex, [out] IVsSplitPane **ppPane);

.NET Framework 安全性

请参阅

参考

IVsSplitter 接口

Microsoft.VisualStudio.TextManager.Interop 命名空间