This topic has not yet been rated - Rate this topic

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.

  Name Description
Public property BaseTypes Gets the classification types from which the current IClassificationType is derived.
Public property Classification Gets the name of the classification type.
Top
  Name Description
Public method IsOfType Determines whether the current IClassificationType derives from the classification type named type.
Top

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ