IClassificationType Interface


The logical classification type of a span of text.

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

public interface IClassificationType


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


Gets the name of the classification type.


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

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 Editor Extension Points.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft