共用方式為


IVsSplitRoot.GetPane(PANETYPE, IVsSplitPane) Method

Definition

Gets the split pane.

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

Parameters

PANETYPE
PANETYPE

[in] The PANETYPE that specifies which pane to get.

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 IVsSplitRoot::GetPane(  
   [in] PANETYPE paneType,  
   [out] IVsSplitPane **ppPane  
);  

Applies to