LanguageService.OnActiveViewChanged(IVsTextView) Yöntem

Tanım

Geçerli görünüm farklı bir görünüme değiştirildiğinde çağırılır.

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)

Parametreler

textView
IVsTextView

'ndaki IVsTextView Yeni geçerli görünümü temsil eden nesne.

Açıklamalar

Bu yöntem, genellikle kod penceresi yöneticisine yeni bir görünüm eklendiğinde çağrılır.

Taban yöntemi, belirtilen görünümü şu anda etkin görünüm olarak depolar.

Şunlara uygulanır