IVsCodeWindow.GetSecondaryView Method (IVsTextView)


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

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int GetSecondaryView(
	out IVsTextView ppView


Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextView

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

Return Value

Type: System.Int32

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

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.

From textmgr.idl:

HRESULT IVsCodeWindow::GetSecondaryView(
   [out] IVsTextView **ppView
Return to top