Partilhar via


VsCodeWindowClass.GetPrimaryView(IVsTextView) Method

Definition

Returns the top (or primary) view of a split code window.

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

Parameters

ppView
IVsTextView

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

Returns

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

Implements

Applies to