IClassificationTypeRegistryService Interface
Visual Studio 2015
The service that maintains the collection of all known classification types.
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
| Name | Description | |
|---|---|---|
![]() | CreateClassificationType(String^, IEnumerable<IClassificationType^>^) | Initializes a new instance of a IClassificationType and adds it to the registry. |
![]() | CreateTransientClassificationType(array<IClassificationType^>^) | Creates an IClassificationType that persists only for the duration of this session. |
![]() | CreateTransientClassificationType(IEnumerable<IClassificationType^>^) | Creates an IClassificationType that persists only for the duration of this session.. |
![]() | GetClassificationType(String^) | Gets the IClassificationType object identified by the specified type. |
This is a MEF component part, and should be imported as follows:
[Import] IClassificationTypeRegistryService registry = null;
For more information about classification, see the section "Extending Classification Types and Classification Formats" in Editor Extension Points.
Show:
