共用方式為


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

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

See Also

Reference

ISmartTagSource Interface

Microsoft.VisualStudio.Language.Intellisense Namespace