Partager via


ISmartTagBroker.IsSmartTagActive(ITextView) Method

Definition

Determines whether a smart tag is active.Smart tags are deprecated in favor of light bulbs. See ILightBulbBroker for a replacement.

public:
 bool IsSmartTagActive(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView);
public:
 bool IsSmartTagActive(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView);
bool IsSmartTagActive(Microsoft::VisualStudio::Text::Editor::ITextView const & textView);
public bool IsSmartTagActive (Microsoft.VisualStudio.Text.Editor.ITextView textView);
abstract member IsSmartTagActive : Microsoft.VisualStudio.Text.Editor.ITextView -> bool
Public Function IsSmartTagActive (textView As ITextView) As Boolean

Parameters

textView
ITextView

The ITextView for which to determine if there are any active smart tag sessions.

Returns

true if there is at least one smart tag session for the specified ITextView, false otherwise.

Applies to