FontAndColorProviderBase.IVsFontAndColorEvents.OnFontChanged Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Wird von der Visual Studio-Umgebung aufgerufen, wenn die Schriftarten einer Kategorie der in der Dropdownliste Anzeigeelemente aufgeführten Elemente geändert werden.
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
Parameter
- guid
- Guid
Ein Zeiger auf GUID.
- fontInfo
- FontInfo[]
Die Informationen zur Schriftartidentifikation.
- logFont
- LOGFONTW[]
Die Attribute der Schriftart.
- hFont
- UInt32
Ein Handle für schriftart.
Gibt zurück
Wenn die Methode erfolgreich ist, wird S_OK zurückgegeben. Bei einem Fehler wird ein Fehlercode zurückgegeben.