确定 SmartTagActionSet 对象应为指定的 ISmartTagSession的一部分。
命名空间: Microsoft.VisualStudio.Language.Intellisense
程序集: Microsoft.VisualStudio.Language.Intellisense(在 Microsoft.VisualStudio.Language.Intellisense.dll 中)
语法
声明
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>
)
参数
session
类型:Microsoft.VisualStudio.Language.Intellisense.ISmartTagSession要对其计算完成项的会话。
smartTagActionSets
类型:IList<SmartTagActionSet>要添加的设置 SmartTagActionSet 对象到会话。
备注
每个适用的 AugmentSmartTagSession 实例将调用来 (有关) 计算 ISmartTagSession。 SmartTagActionSet的可添加到该会话通过向 smartTagActionSets 集合。 此外,通过移除项从集合,源可以筛选在计算链中 ISmartTagSource提供的 SmartTagActionSet 对象的之前。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。