共用方式為


IVsFontsAndColorsInformationService 介面

提供語言服務的字型和色彩資訊和FontsAndColorsCategory物件。

命名空間:  Microsoft.VisualStudio.Editor
組件:  Microsoft.VisualStudio.Editor (在 Microsoft.VisualStudio.Editor.dll 中)

語法

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

IVsFontsAndColorsInformationService 類型會公開下列成員。

方法

  名稱 描述
公用方法 GetFontAndColorInformation 取得字型和色彩資訊,表示指定的色彩資訊FontsAndColorsCategory

回頁首

備註

這是 MEF 的元件,應該會將它匯入,使用下列屬性:

[Import(typeof(IFontsAndColorsInformationService))]

您可以使用這項服務,以取得IVsFontsAndColorsInformation物件。

請參閱

參考

Microsoft.VisualStudio.Editor 命名空間