ClassificationTypeDefinition Class
Visual Studio 2012
Describes a data-only export for declaring classification types.
Namespace:
Microsoft.VisualStudio.Text.Classification
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
The ClassificationTypeDefinition type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ClassificationTypeDefinition | Initializes a new instance of ClassificationTypeDefinition. |
| Name | Description | |
|---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Because you cannot subclass this type, you can use the [Export] attribute with no type.
For more information about classification, see the section "Extending Classification Types and Classification Formats" in Editor Extension Points.
