共用方式為


SmartTag(SmartTagType, ReadOnlyCollection<SmartTagActionSet>) Constructor

Definition

Initializes a new instance of SmartTag.

public:
 SmartTag(Microsoft::VisualStudio::Language::Intellisense::SmartTagType smartTagType, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Language::Intellisense::SmartTagActionSet ^> ^ actionSets);
public SmartTag (Microsoft.VisualStudio.Language.Intellisense.SmartTagType smartTagType, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Language.Intellisense.SmartTagActionSet> actionSets);
new Microsoft.VisualStudio.Language.Intellisense.SmartTag : Microsoft.VisualStudio.Language.Intellisense.SmartTagType * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Language.Intellisense.SmartTagActionSet> -> Microsoft.VisualStudio.Language.Intellisense.SmartTag
Public Sub New (smartTagType As SmartTagType, actionSets As ReadOnlyCollection(Of SmartTagActionSet))

Parameters

smartTagType
SmartTagType

The type of smart tag session that should be created.

actionSets
ReadOnlyCollection<SmartTagActionSet>

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

Applies to