Share via


. Method

Namespace:  Microsoft.VisualStudio.Data.Tools.SqlEditor.VSIntegration
Assembly:  Microsoft.VisualStudio.Data.Tools.SqlEditor (in Microsoft.VisualStudio.Data.Tools.SqlEditor.dll)

Syntax

'Declaration
Private 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
'Usage
Dim instance As FontAndColorProviderBase
Dim guid As Guid
Dim itemName As String
Dim itemID As Integer
Dim itemInfo As ColorableItemInfo()
Dim literalForeground As UInteger
Dim literalBackground As UInteger
Dim returnValue As Integer

returnValue = CType(instance, IVsFontAndColorEvents).OnItemChanged(guid, _
    itemName, itemID, itemInfo, literalForeground, _
    literalBackground)
int IVsFontAndColorEvents.OnItemChanged(
    ref Guid guid,
    string itemName,
    int itemID,
    ColorableItemInfo[] itemInfo,
    uint literalForeground,
    uint literalBackground
)
private:
virtual int OnItemChanged(
    Guid% guid, 
    String^ itemName, 
    int itemID, 
    array<ColorableItemInfo>^ itemInfo, 
    unsigned int literalForeground, 
    unsigned int literalBackground
) sealed = IVsFontAndColorEvents::OnItemChanged
private abstract OnItemChanged : 
        guid:Guid byref * 
        itemName:string * 
        itemID:int * 
        itemInfo:ColorableItemInfo[] * 
        literalForeground:uint32 * 
        literalBackground:uint32 -> int 
private override OnItemChanged : 
        guid:Guid byref * 
        itemName:string * 
        itemID:int * 
        itemInfo:ColorableItemInfo[] * 
        literalForeground:uint32 * 
        literalBackground:uint32 -> int 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

  • itemInfo
    Type: array<ColorableItemInfo> [] () [] []

Return Value

Type: System..::..Int32

Implements

IVsFontAndColorEventsOnItemChanged(Guid%, String, Int32, array<ColorableItemInfo>[]()[][], UInt32, UInt32)

See Also

Reference

FontAndColorProviderBase Class

Microsoft.VisualStudio.Data.Tools.SqlEditor.VSIntegration Namespace