ISmartTagSourceProvider.TryCreateSmartTagSource(ITextBuffer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.