Condividi tramite


IVsCodeWindow.GetSecondaryView(IVsTextView) Method

Definition

Returns the bottom (or secondary) view of a split code window.

public:
 int GetSecondaryView([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ % ppView);
public:
 int GetSecondaryView([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ &  ppView);
int GetSecondaryView([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextView const & & ppView);
public int GetSecondaryView (out Microsoft.VisualStudio.TextManager.Interop.IVsTextView ppView);
abstract member GetSecondaryView : IVsTextView -> int
Public Function GetSecondaryView (ByRef ppView As IVsTextView) As Integer

Parameters

ppView
IVsTextView

[out] Pointer to IVsTextView interface of the secondary text view.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

If there is no secondary view, the ppView parameter is set to null. To access the primary view in a split code window, call GetPrimaryView.

COM Signature

From textmgr.idl:

HRESULT IVsCodeWindow::GetSecondaryView(  
   [out] IVsTextView **ppView  
);  

Applies to