Share via


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)

Syntax

'Declaration
Public Interface IClassificationType
public interface IClassificationType
public interface class IClassificationType
type IClassificationType =  interface end
public interface IClassificationType

The IClassificationType type exposes the following members.

Properties

  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

Methods

  Name Description
Public method IsOfType Determines whether the current IClassificationType derives from the classification type named type.

Top

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

See Also

Reference

Microsoft.VisualStudio.Text.Classification Namespace