Condividi tramite


FontAndColorProviderBase.IVsFontAndColorEvents.OnFontChanged Metodo

Definizione

Chiamato dall'ambiente di Visual Studio quando vengono modificati i tipi di carattere di una categoria degli elementi elencati nell'elenco a discesa Elementi visualizzati.

 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

Parametri

guid
Guid

Puntatore a GUID.

fontInfo
FontInfo[]

Informazioni di identificazione del carattere.

logFont
LOGFONTW[]

Attributi del tipo di carattere.

hFont
UInt32

Handle da fontare.

Restituisce

Se il metodo ha esito positivo, viene restituito S_OK. Se ha esito negativo, viene restituito un codice di errore.

Implementazioni

Si applica a