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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。