Partager via


LanguageService.OnActiveViewChanged(IVsTextView) Method

Definition

Called when the current view has changed to a different view.

public:
 virtual void OnActiveViewChanged(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ textView);
public:
 virtual void OnActiveViewChanged(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ textView);
 virtual void OnActiveViewChanged(Microsoft::VisualStudio::TextManager::Interop::IVsTextView const & textView);
public virtual void OnActiveViewChanged (Microsoft.VisualStudio.TextManager.Interop.IVsTextView textView);
abstract member OnActiveViewChanged : Microsoft.VisualStudio.TextManager.Interop.IVsTextView -> unit
override this.OnActiveViewChanged : Microsoft.VisualStudio.TextManager.Interop.IVsTextView -> unit
Public Overridable Sub OnActiveViewChanged (textView As IVsTextView)

Parameters

textView
IVsTextView

[in] The IVsTextView object representing the new current view.

Remarks

This method is typically called when a new view has been added to the code window manager.

The base method internally stores the given view as the currently active view.

Applies to