ISmartTagSource.AugmentSmartTagSession Method

Definition

Determines which SmartTagActionSet objects should be part of the specified ISmartTagSession.Smart tags are deprecated in favor of light bulbs. See Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionSource for a replacement.

public:
 void AugmentSmartTagSession(Microsoft::VisualStudio::Language::Intellisense::ISmartTagSession ^ session, System::Collections::Generic::IList<Microsoft::VisualStudio::Language::Intellisense::SmartTagActionSet ^> ^ smartTagActionSets);
public void AugmentSmartTagSession (Microsoft.VisualStudio.Language.Intellisense.ISmartTagSession session, System.Collections.Generic.IList<Microsoft.VisualStudio.Language.Intellisense.SmartTagActionSet> smartTagActionSets);
abstract member AugmentSmartTagSession : Microsoft.VisualStudio.Language.Intellisense.ISmartTagSession * System.Collections.Generic.IList<Microsoft.VisualStudio.Language.Intellisense.SmartTagActionSet> -> unit
Public Sub AugmentSmartTagSession (session As ISmartTagSession, smartTagActionSets As IList(Of SmartTagActionSet))

Parameters

session
ISmartTagSession

The session for which completions are to be computed.

smartTagActionSets
IList<SmartTagActionSet>

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

Remarks

Each applicable AugmentSmartTagSession(ISmartTagSession, IList<SmartTagActionSet>) 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 passed-in as a parameter. In addition, by removing items from the collection, a source may filter SmartTagActionSets provided by ISmartTagSources earlier in the calculation chain.

Applies to