TagTypeAttribute Constructor
Initializes a new instance of a TagTypeAttribute.
Namespace: Microsoft.VisualStudio.Text.Tagging
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Déclaration
Public Sub New ( _
tagType As Type _
)
public TagTypeAttribute(
Type tagType
)
public:
TagTypeAttribute(
Type^ tagType
)
new :
tagType:Type -> TagTypeAttribute
public function TagTypeAttribute(
tagType : Type
)
Parameters
- tagType
Type: System.Type
The tag type, which must derive from ITag.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | tagType is nulla null reference (Nothing in Visual Basic). |
ArgumentException | tagType does not derive from ITag. |
.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.