ISmartTagSourceProvider.TryCreateSmartTagSource(ITextBuffer) Method

Definition

Attempts to create a smart tag source for the specified buffer.Smart tags are deprecated in favor of light bulbs. See Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionSourceProvider for a replacement.

public:
 Microsoft::VisualStudio::Language::Intellisense::ISmartTagSource ^ TryCreateSmartTagSource(Microsoft::VisualStudio::Text::ITextBuffer ^ textBuffer);
public Microsoft.VisualStudio.Language.Intellisense.ISmartTagSource TryCreateSmartTagSource (Microsoft.VisualStudio.Text.ITextBuffer textBuffer);
abstract member TryCreateSmartTagSource : Microsoft.VisualStudio.Text.ITextBuffer -> Microsoft.VisualStudio.Language.Intellisense.ISmartTagSource
Public Function TryCreateSmartTagSource (textBuffer As ITextBuffer) As ISmartTagSource

Parameters

textBuffer
ITextBuffer

The text buffer for which to create a smart tag source.

Returns

The ISmartTagSource, or null if no smart tag source could be created.

Applies to