Freigeben über


VsCodeWindowClass.GetLastActiveView(IVsTextView) Method

Definition

Returns the last active view of the code window.

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

Parameters

ppView
IVsTextView

[out] Pointer to the IVsTextView interface that represents the last active view.

Returns

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

Implements

Applies to