Compartilhar via


Método IVsFontsAndColorsInformation.GetFontAndColorPreferences

Obtém o FONTCOLORPREFERENCES2 do serviço de linguagem.

Namespace:  Microsoft.VisualStudio.Editor
Assembly:  Microsoft.VisualStudio.Editor (em Microsoft.VisualStudio.Editor.dll)

Sintaxe

'Declaração
Function GetFontAndColorPreferences As FONTCOLORPREFERENCES2
FONTCOLORPREFERENCES2 GetFontAndColorPreferences()
FONTCOLORPREFERENCES2 GetFontAndColorPreferences()
abstract GetFontAndColorPreferences : unit -> FONTCOLORPREFERENCES2
function GetFontAndColorPreferences() : FONTCOLORPREFERENCES2

Valor de retorno

Tipo: FONTCOLORPREFERENCES2
FONTCOLORPREFERENCES2.

Comentários

Essas preferências de cor são as definições de cor dentro de Visual Studio, não as informações disponíveis no mapa de formatação a classificação ou o mapa de formatação do editor.

Segurança do .NET Framework

Consulte também

Referência

IVsFontsAndColorsInformation Interface

Namespace Microsoft.VisualStudio.Editor