In This Article

ClassificationTag Class

Represents an ITag that can be used to associate an IClassificationType with some text range by implementing IClassificationTag.

public class ClassificationTag : IClassificationTag, ITag
Inheritance:
object object
Derived:
ReadOnlyRegionTag StyleRegistryClassificationTag
Implements:
IClassificationTag ITag

Constructors

ClassificationTag()

Initializes an instance of the class.

public ClassificationTag()

ClassificationTag(IClassificationType)

Initializes an instance of the class.

public ClassificationTag(IClassificationType classificationType)
Parameter Type Description
classificationType IClassificationType

The IClassificationType associated with the tag.

Properties

ClassificationType

The IClassificationType associated with this tag.

public IClassificationType? ClassificationType { get; set; }

Property Value

IClassificationType

Methods

ToString()

Returns the string representation of this object.

public override string ToString()

Returns

string:

The string representation of this object.

Inherited Members

Extension Methods