ISmartTagSource.AugmentSmartTagSession Method (ISmartTagSession, IList<SmartTagActionSet>)


Determines which SmartTagActionSet objects should be part of the specified ISmartTagSession.

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

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

void AugmentSmartTagSession(
	ISmartTagSession session,
	IList<SmartTagActionSet> smartTagActionSets


Type: Microsoft.VisualStudio.Language.Intellisense.ISmartTagSession

The session for which completions are to be computed.

Type: System.Collections.Generic.IList<SmartTagActionSet>

The set of the SmartTagActionSet objects to be added to the session.

Each applicable AugmentSmartTagSession instance will be called in order to (re)calculate a ISmartTagSession. SmartTagActionSets can be added to the session by adding them to the smartTagActionSets collection. In addition, by removing items from the collection, a source may filter SmartTagActionSet objects provided by ISmartTagSources earlier in the calculation chain.

Return to top