Поделиться через


FontAndColorProviderBase.IVsFontAndColorEvents.OnFontChanged Метод

Определение

Вызывается средой Visual Studio при изменении шрифтов одной категории элементов, перечисленных в раскрывающемся списке Отображаемые элементы.

 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

Параметры

guid
Guid

Указатель на GUID.

fontInfo
FontInfo[]

Сведения об идентификации шрифта.

logFont
LOGFONTW[]

Атрибуты шрифта.

hFont
UInt32

Дескриптор шрифта.

Возвращаемое значение

Если метод завершается успешно, возвращает значение S_OK. В противном случае функция возвращает код ошибки.

Реализации

Применяется к