共用方式為


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 命名空間