Udostępnij za pośrednictwem


IVsSplitter.GetPane(Int32, IVsSplitPane) Method

Definition

Returns the indicated pane.

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

Parameters

iIndex
Int32

[in] The index of the pane. iIndex can be 0 (primary) or 1 (secondary)

ppPane
IVsSplitPane

[out] The IVsSplitPane.

Returns

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);  

Applies to