IVsSplitter.GetPane(Int32, IVsSplitPane) 方法

定义

返回指示的窗格。

public:
 int GetPane(int iIndex, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsSplitPane ^ % ppPane);
public:
 int GetPane(int iIndex, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsSplitPane ^ &  ppPane);
int GetPane(int iIndex, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsSplitPane const & & ppPane);
public int GetPane (int iIndex, out Microsoft.VisualStudio.TextManager.Interop.IVsSplitPane ppPane);
abstract member GetPane : int * IVsSplitPane -> int
Public Function GetPane (iIndex As Integer, ByRef ppPane As IVsSplitPane) As Integer

参数

iIndex
Int32

中窗格的索引。 iIndex 可以是 0 (主) 或 1 (辅助)

ppPane
IVsSplitPane

IVsSplitPane

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 textmgr:

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

适用于