FontAndColorProviderBase.IVsFontAndColorEvents.OnFontChanged Method

Definition

Called by the Visual Studio environment when the fonts of one Categories of the items listed in the Display Items drop-down list is modified.

 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

Parameters

guid
Guid

A pointer to GUID.

fontInfo
FontInfo[]

The font identification information.

logFont
LOGFONTW[]

The attributes of the font.

hFont
UInt32

A handle to font.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Applies to