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: TypeDie 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
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.