Share via


LanguageService.OnActiveViewChanged Method

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

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Overridable Sub OnActiveViewChanged ( _
    textView As IVsTextView _
)
public virtual void OnActiveViewChanged(
    IVsTextView textView
)
public:
virtual void OnActiveViewChanged(
    IVsTextView^ textView
)
abstract OnActiveViewChanged : 
        textView:IVsTextView -> unit  
override OnActiveViewChanged : 
        textView:IVsTextView -> unit
public function OnActiveViewChanged(
    textView : IVsTextView
)

Parameters

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.

.NET Framework Security

See Also

Reference

LanguageService Class

Microsoft.VisualStudio.Package Namespace