IClassificationType Interface

Definition

The logical classification type of a span of text.

public interface IClassificationType

Remarks

All classification types are identified by a unique name.

The IClassificationTypeRegistryService can return an IClassificationType object from this unique name in order to allow clients to access additional information.

Classification types can multiply inherit by stacking ClassificationTypeAttribute attributes.

For more information about classification, see the section "Extending Classification Types and Classification Formats" in Language Service and Editor Extension Points.

Properties

BaseTypes

Gets the classification types from which the current IClassificationType is derived.

Classification

Gets the name of the classification type.

Methods

IsOfType(String)

Determines whether the current IClassificationType derives from the classification type named type.

Applies to