共用方式為


IVsFontsAndColorsInformationService Interface

Provides font and color information for language services and FontsAndColorsCategory objects.

Namespace:  Microsoft.VisualStudio.Editor
Assembly:  Microsoft.VisualStudio.Editor (in Microsoft.VisualStudio.Editor.dll)

Syntax

'宣告
Public Interface IVsFontsAndColorsInformationService
public interface IVsFontsAndColorsInformationService
public interface class IVsFontsAndColorsInformationService
type IVsFontsAndColorsInformationService =  interface end
public interface IVsFontsAndColorsInformationService

The IVsFontsAndColorsInformationService type exposes the following members.

Methods

  Name Description
Public method GetFontAndColorInformation Gets font and color information, which represents the coloring information for the specified FontsAndColorsCategory.

Top

Remarks

This is a MEF Component, and should be imported with the following attribute:

[Import(typeof(IFontsAndColorsInformationService))]

You can use this service to get IVsFontsAndColorsInformation objects.

See Also

Reference

Microsoft.VisualStudio.Editor Namespace