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 a new instance of the ClassificationTag class.

public ClassificationTag()

ClassificationTag(IClassificationType)

Initializes a new instance of the ClassificationTag class.

public ClassificationTag(IClassificationType classificationType)
Parameter Type Description
classificationType IClassificationType

The IClassificationType associated with the tag.

Properties

ClassificationType

Gets or sets the IClassificationType associated with the tag.

public IClassificationType ClassificationType { get; set; }

Property Value

IClassificationType:

The IClassificationType associated with the tag.

Methods

ToString()

Converts the object to a String.

public override string ToString()

Returns

String:

A string whose value represents this object.

Inherited Members