Freigeben über


TagTypeAttribute-Konstruktor

Initialisiert eine neue Instanz von TagTypeAttribute.

Namespace:  Microsoft.VisualStudio.Text.Tagging
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'Declaration
Public Sub New ( _
    tagType As Type _
)
public TagTypeAttribute(
    Type tagType
)
public:
TagTypeAttribute(
    Type^ tagType
)
new : 
        tagType:Type -> TagTypeAttribute
public function TagTypeAttribute(
    tagType : Type
)

Parameter

  • tagType
    Typ: Type

    Die Tagtyp, der von ITag abgeleitet sein muss.

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

tagType ist nullein Nullverweis (Nothing in Visual Basic).

ArgumentException

tagType wird nicht von ITag abgeleitet.

.NET Framework-Sicherheit

Siehe auch

Referenz

TagTypeAttribute Klasse

Microsoft.VisualStudio.Text.Tagging-Namespace