共用方式為


IVsFontsAndColorsInformation.AddLanguageService(Guid) Method

Definition

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.

public:
 void AddLanguageService(Guid languageServiceId);
public void AddLanguageService (Guid languageServiceId);
abstract member AddLanguageService : Guid -> unit
Public Sub AddLanguageService (languageServiceId As Guid)

Parameters

languageServiceId
Guid

The GUID of the language service.

Remarks

This method can be used to add additional color sources when multiple buffers of the same font and color category have different language service GUIDs.

Applies to