SmartTag 构造函数

初始化 SmartTag 的新实例。

命名空间:  Microsoft.VisualStudio.Language.Intellisense
程序集:  Microsoft.VisualStudio.Language.Intellisense(在 Microsoft.VisualStudio.Language.Intellisense.dll 中)

语法

声明
Public Sub New ( _
    smartTagType As SmartTagType, _
    actionSets As ReadOnlyCollection(Of SmartTagActionSet) _
)
public SmartTag(
    SmartTagType smartTagType,
    ReadOnlyCollection<SmartTagActionSet> actionSets
)
public:
SmartTag(
    SmartTagType smartTagType, 
    ReadOnlyCollection<SmartTagActionSet^>^ actionSets
)
new : 
        smartTagType:SmartTagType * 
        actionSets:ReadOnlyCollection<SmartTagActionSet> -> SmartTag
public function SmartTag(
    smartTagType : SmartTagType, 
    actionSets : ReadOnlyCollection<SmartTagActionSet>
)

参数

  • actionSets
    类型:ReadOnlyCollection<SmartTagActionSet>

    应属于智能标记会话的操作的集合。

.NET Framework 安全性

请参阅

参考

SmartTag 类

Microsoft.VisualStudio.Language.Intellisense 命名空间