TagTypeAttribute(Type) 构造函数

定义

初始化 TagTypeAttribute 的新实例。

public:
 TagTypeAttribute(Type ^ tagType);
public:
 TagTypeAttribute(Platform::Type ^ tagType);
public TagTypeAttribute (Type tagType);
new Microsoft.VisualStudio.Text.Tagging.TagTypeAttribute : Type -> Microsoft.VisualStudio.Text.Tagging.TagTypeAttribute
Public Sub New (tagType As Type)

参数

tagType
Type

标记类型,必须派生自 ITag

例外

tagType 为 null。

tagType 并非派生自 ITag

适用于