Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
smartTagType
Type: Microsoft.VisualStudio.Language.Intellisense.SmartTagTypeThe type of smart tag session that should be created.
actionSets
Type: System.Collections.ObjectModel.ReadOnlyCollection<SmartTagActionSet>The set of actions that should be a part of the smart tag session.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.