IVsFontsAndColorsInformation.GetFontAndColorPreferences, méthode
Obtient FONTCOLORPREFERENCES2 du service de langage.
Espace de noms : Microsoft.VisualStudio.Editor
Assembly : Microsoft.VisualStudio.Editor (dans Microsoft.VisualStudio.Editor.dll)
Syntaxe
'Déclaration
Function GetFontAndColorPreferences As FONTCOLORPREFERENCES2
FONTCOLORPREFERENCES2 GetFontAndColorPreferences()
FONTCOLORPREFERENCES2 GetFontAndColorPreferences()
abstract GetFontAndColorPreferences : unit -> FONTCOLORPREFERENCES2
function GetFontAndColorPreferences() : FONTCOLORPREFERENCES2
Valeur de retour
Type : FONTCOLORPREFERENCES2
FONTCOLORPREFERENCES2.
Notes
Ces préférences de couleur sont les définitions de couleur à l'intérieur de Visual Studio, pas les informations disponibles dans la carte de mise en forme de classification ou la carte de mise en forme d'éditeur.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.