IVsFontsAndColorsInformation.GetFontAndColorPreferences 方法

获取语言服务的 FONTCOLORPREFERENCES2

命名空间:  Microsoft.VisualStudio.Editor
程序集:  Microsoft.VisualStudio.Editor(在 Microsoft.VisualStudio.Editor.dll 中)

语法

声明
Function GetFontAndColorPreferences As FONTCOLORPREFERENCES2
FONTCOLORPREFERENCES2 GetFontAndColorPreferences()
FONTCOLORPREFERENCES2 GetFontAndColorPreferences()
abstract GetFontAndColorPreferences : unit -> FONTCOLORPREFERENCES2
function GetFontAndColorPreferences() : FONTCOLORPREFERENCES2

返回值

类型:FONTCOLORPREFERENCES2
FONTCOLORPREFERENCES2.

备注

这些颜色的喜好是在 Visual Studio 内的颜色定义,没有可用的信息在分类格式图或编辑格式图。

.NET Framework 安全性

请参阅

参考

IVsFontsAndColorsInformation 接口

Microsoft.VisualStudio.Editor 命名空间