IVsFontsAndColorsInformation.GetFontAndColorPreferences Method
Gets the FONTCOLORPREFERENCES2 of the language service.
Namespace: Microsoft.VisualStudio.Editor
Assembly: Microsoft.VisualStudio.Editor (in Microsoft.VisualStudio.Editor.dll)
Syntax
'Déclaration
Function GetFontAndColorPreferences As FONTCOLORPREFERENCES2
FONTCOLORPREFERENCES2 GetFontAndColorPreferences()
FONTCOLORPREFERENCES2 GetFontAndColorPreferences()
abstract GetFontAndColorPreferences : unit -> FONTCOLORPREFERENCES2
function GetFontAndColorPreferences() : FONTCOLORPREFERENCES2
Return Value
Type: Microsoft.VisualStudio.TextManager.Interop.FONTCOLORPREFERENCES2
FONTCOLORPREFERENCES2 .
Remarks
These color preferences are the color definitions inside Visual Studio, not the information available in the classification format map or the editor format map.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.