LanguageService.LastActiveTextView Property

Definition

Returns the last active text view associated with this language service.

public:
 property Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ LastActiveTextView { Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ get(); };
public:
 property Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ LastActiveTextView { Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ get(); };
public Microsoft.VisualStudio.TextManager.Interop.IVsTextView LastActiveTextView { get; }
member this.LastActiveTextView : Microsoft.VisualStudio.TextManager.Interop.IVsTextView
Public ReadOnly Property LastActiveTextView As IVsTextView

Property Value

Returns the last active text view as represented by an IVsTextView interface; otherwise, returns a null value.

Remarks

This helper property is typically called from SynchronizeDropdowns and Close but can be called from wherever the last active text view is needed.

Applies to