FontAndColorProviderBase.IVsFontAndColorEvents.OnItemChanged Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Применяет изменения шрифта и цвета.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsFontAndColorEvents.OnItemChanged(Guid % guid, System::String ^ itemName, int itemID, cli::array <Microsoft::VisualStudio::Shell::Interop::ColorableItemInfo> ^ itemInfo, System::UInt32 literalForeground, System::UInt32 literalBackground) = Microsoft::VisualStudio::Shell::Interop::IVsFontAndColorEvents::OnItemChanged;
int IVsFontAndColorEvents.OnItemChanged (ref Guid guid, string itemName, int itemID, Microsoft.VisualStudio.Shell.Interop.ColorableItemInfo[] itemInfo, uint literalForeground, uint literalBackground);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsFontAndColorEvents.OnItemChanged : Guid * string * int * Microsoft.VisualStudio.Shell.Interop.ColorableItemInfo[] * uint32 * uint32 -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsFontAndColorEvents.OnItemChanged : Guid * string * int * Microsoft.VisualStudio.Shell.Interop.ColorableItemInfo[] * uint32 * uint32 -> int
Function OnItemChanged (ByRef guid As Guid, itemName As String, itemID As Integer, itemInfo As ColorableItemInfo(), literalForeground As UInteger, literalBackground As UInteger) As Integer Implements IVsFontAndColorEvents.OnItemChanged
Параметры
- itemName
- String
Строка, указывающая имя элемента.
- itemID
- Int32
Целочисленное значение, указывающее на идентификатор элемента.
- itemInfo
- ColorableItemInfo[]
Массив ColorableItemInfo.
- literalForeground
- UInt32
Целочисленное значение, указывающее передний план литерала.
- literalBackground
- UInt32
Целочисленное значение, указывающее задний план литерала.
Возвращаемое значение
Целое число, содержащее значение.