获取语言服务的 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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。