Läs på engelska

Dela via


IVsFontsAndColorsInformation Interface

Definition

Encapsulates information about a language's color information.

C++/CX
public interface class IVsFontsAndColorsInformation

Methods

AddLanguageService(Guid)

Adds an additional language service that contributes to coloring information of this class. This method can be used to add additional color sources where multiple buffers of the same font and color category guid have varying language service GUIDs.

GetClassificationType(Int32)

Returns a IClassificationTypes that is created to be used by the language service classifier for the colorable item at index colorableItemIndex.

GetFontAndColorPreferences()

Returns the FONTCOLORPREFERENCES2 of the language service. This corresponds to the color definitions inside Visual Studio (not the information available in the classification format map, editor format map, etc.)

Events

Updated

Raised when information about the language service's colors is changed.

Applies to

Produkt Versioner
Visual Studio SDK 2015, 2017, 2019, 2022