FontAndColorProviderBase.IVsFontAndColorEvents.OnFontChanged Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Appelé par l’environnement Visual Studio lorsque les polices d’une catégorie des éléments répertoriés dans la liste déroulante Afficher les éléments sont modifiées.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsFontAndColorEvents.OnFontChanged(Guid % guid, cli::array <Microsoft::VisualStudio::Shell::Interop::FontInfo> ^ fontInfo, cli::array <Microsoft::VisualStudio::Shell::Interop::LOGFONTW> ^ logFont, System::UInt32 hFont) = Microsoft::VisualStudio::Shell::Interop::IVsFontAndColorEvents::OnFontChanged;
int IVsFontAndColorEvents.OnFontChanged (ref Guid guid, Microsoft.VisualStudio.Shell.Interop.FontInfo[] fontInfo, Microsoft.VisualStudio.Shell.Interop.LOGFONTW[] logFont, uint hFont);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsFontAndColorEvents.OnFontChanged : Guid * Microsoft.VisualStudio.Shell.Interop.FontInfo[] * Microsoft.VisualStudio.Shell.Interop.LOGFONTW[] * uint32 -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsFontAndColorEvents.OnFontChanged : Guid * Microsoft.VisualStudio.Shell.Interop.FontInfo[] * Microsoft.VisualStudio.Shell.Interop.LOGFONTW[] * uint32 -> int
Function OnFontChanged (ByRef guid As Guid, fontInfo As FontInfo(), logFont As LOGFONTW(), hFont As UInteger) As Integer Implements IVsFontAndColorEvents.OnFontChanged
Paramètres
- guid
- Guid
Pointeur vers guid.
- fontInfo
- FontInfo[]
Informations d’identification de police.
- logFont
- LOGFONTW[]
Attributs de la police.
- hFont
- UInt32
Handle pour faire la police.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.