IVsSplitter.GetPane(Int32, IVsSplitPane) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回指示的窗格。
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。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
COM 签名
从 textmgr:
HRESULT IVsSplitter::GetPane([in] long iIndex, [out] IVsSplitPane **ppPane);