다음을 통해 공유


FontAndColorProviderBase.IVsFontAndColorEvents.OnItemChanged 메서드

Applies font and color changes.

네임스페이스:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
어셈블리:  SQLEditors(SQLEditors.dll)

구문

‘선언
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
‘사용 방법
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는 명시적 인터페이스 구현의 사용을 지원하지만 새로운 명시적 인터페이스 구현의 선언은 지원하지 않습니다.

매개 변수

  • itemName
    유형: System.String
    A string that specifies the item name.
  • itemID
    유형: System.Int32
    An integer value that specifies the item id.
  • literalForeground
    유형: System.UInt32
    An integer value that specifies the literal foreground.
  • literalBackground
    유형: System.UInt32
    An integer value that specifies the literal background.

반환 값

유형: System.Int32
An integer value.

구현

IVsFontAndColorEventsOnItemChanged(Guid, String, Int32, ColorableItemInfo, UInt32, UInt32)

참고 항목

참조

FontAndColorProviderBase 클래스

Microsoft.SqlServer.Management.UI.VSIntegration.Editors 네임스페이스