VsCodeWindowClass::GetLastActiveView Method (IVsTextView^)

 

Returns the last active view of the code window.

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

public:
virtual int GetLastActiveView(
	[OutAttribute] IVsTextView^% ppView
)

Parameters

ppView
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextView^

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

Return Value

Type: System::Int32

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

Return to top
Show: