FontAndColorProviderBase.IVsFontAndColorEvents.OnItemChanged Method
Applies font and color changes.
Namespace: Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly: SQLEditors (in SQLEditors.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
- guid
Type: System.Guid%
A pointer to Guid.
- itemName
Type: System.String
A string that specifies the item name.
- itemID
Type: System.Int32
An integer value that specifies the item id.
- itemInfo
Type: array<ColorableItemInfo[]
A ColorableItemInfo array.
- literalForeground
Type: System.UInt32
An integer value that specifies the literal foreground.
- literalBackground
Type: System.UInt32
An integer value that specifies the literal background.
Return Value
Type: System.Int32
An integer value.
Implements
IVsFontAndColorEventsOnItemChanged(Guid, String, Int32, ColorableItemInfo, UInt32, UInt32)
See Also
Reference
FontAndColorProviderBase Class
Microsoft.SqlServer.Management.UI.VSIntegration.Editors Namespace