다음을 통해 공유


ClassificationTag Constructor

Creates a new tag associated with the given type of classification.

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

Syntax

‘선언
Public Sub New ( _
    type As IClassificationType _
)
public ClassificationTag(
    IClassificationType type
)
public:
ClassificationTag(
    IClassificationType^ type
)
new : 
        type:IClassificationType -> ClassificationTag
public function ClassificationTag(
    type : IClassificationType
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

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

.NET Framework Security

See Also

Reference

ClassificationTag Class

Microsoft.VisualStudio.Text.Tagging Namespace