ISmartTagSourceProvider::TryCreateSmartTagSource Method (ITextBuffer^)

 

Attempts to create a smart tag source for the specified buffer.

Smart tags are deprecated in favor of light bulbs. See T:Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionSourceProvider for a replacement.

Namespace:   Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

ISmartTagSource^ TryCreateSmartTagSource(
	ITextBuffer^ textBuffer
)

Parameters

textBuffer
Type: Microsoft.VisualStudio.Text::ITextBuffer^

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

Return Value

Type: Microsoft.VisualStudio.Language.Intellisense::ISmartTagSource^

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

Return to top
Show: