ISmartTagSource.AugmentSmartTagSession Method
Determines which SmartTagActionSet objects should be part of the specified ISmartTagSession.
Namespace: Microsoft.VisualStudio.Language.Intellisense
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Syntax
'Декларация
Sub AugmentSmartTagSession ( _
session As ISmartTagSession, _
smartTagActionSets As IList(Of SmartTagActionSet) _
)
void AugmentSmartTagSession(
ISmartTagSession session,
IList<SmartTagActionSet> smartTagActionSets
)
void AugmentSmartTagSession(
ISmartTagSession^ session,
IList<SmartTagActionSet^>^ smartTagActionSets
)
abstract AugmentSmartTagSession :
session:ISmartTagSession *
smartTagActionSets:IList<SmartTagActionSet> -> unit
function AugmentSmartTagSession(
session : ISmartTagSession,
smartTagActionSets : IList<SmartTagActionSet>
)
Parameters
- session
Type: Microsoft.VisualStudio.Language.Intellisense.ISmartTagSession
The session for which completions are to be computed.
- smartTagActionSets
Type: System.Collections.Generic.IList<SmartTagActionSet>
The set of the SmartTagActionSet objects to be added to the session.
Remarks
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.