共用方式為


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 命名空間