다음을 통해 공유


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

‘선언
Public Sub New ( _
    tagType As Type _
)
public TagTypeAttribute(
    Type tagType
)
public:
TagTypeAttribute(
    Type^ tagType
)
new : 
        tagType:Type -> TagTypeAttribute
public function TagTypeAttribute(
    tagType : Type
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

tagType is nulla null reference (Nothing in Visual Basic).

ArgumentException

tagType does not derive from ITag.

.NET Framework Security

See Also

Reference

TagTypeAttribute Class

Microsoft.VisualStudio.Text.Tagging Namespace