IClassificationTypeRegistryService Interface
The service that maintains the collection of all known classification types.
Namespace: Microsoft.VisualStudio.Text.Classification
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaración
Public Interface IClassificationTypeRegistryService
public interface IClassificationTypeRegistryService
public interface class IClassificationTypeRegistryService
type IClassificationTypeRegistryService = interface end
public interface IClassificationTypeRegistryService
The IClassificationTypeRegistryService type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreateClassificationType | 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 | Gets the IClassificationType object identified by the specified type. |
Top
Remarks
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.