IClassificationTypeRegistryService Interface

Definition

The service that maintains the collection of all known classification types.

C++/CX
public interface class IClassificationTypeRegistryService

Remarks

This is a MEF component part, and should be imported as follows: [Import] IClassificationTypeRegistryService registry = null;

Methods

CreateClassificationType(ClassificationLayer, String, IEnumerable<IClassificationType>)

Initializes a new instance of a IClassificationType and adds it to the registry.

CreateClassificationType(String, IEnumerable<IClassificationType>)

Initializes a new instance of a IClassificationType and adds it to the registry.

CreateTransientClassificationType(IClassificationType[])

Creates an IClassificationType that persists only for the duration of this session. This IClassificationType must inherit from at least one IClassificationType.

CreateTransientClassificationType(IEnumerable<IClassificationType>)

Creates an IClassificationType that persists only for the duration of this session. This IClassificationType must inherit from at least one IClassificationType.

GetClassificationType(ClassificationLayer, String)

Gets the IClassificationType object identified by the specified type.

GetClassificationType(String)

Gets the IClassificationType object identified by the specified type.

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022