Compartir a través de


SmartTag Constructor

Initializes a new instance of SmartTag.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'Declaration
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>
)

Parameters

  • actionSets
    Type: ReadOnlyCollection<SmartTagActionSet>

    The set of actions that should be a part of the smart tag session.

.NET Framework Security

See Also

Reference

SmartTag Class

Microsoft.VisualStudio.Language.Intellisense Namespace