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

The IClassificationType type exposes the following members.

Public propertyBaseTypesGets the classification types from which the current IClassificationType is derived.
Public propertyClassificationGets the name of the classification type.

Public methodIsOfTypeDetermines 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.

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