ColorableItem Constructor

Constructor to create ColorableItem instance.

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

Syntax

'Declaration
Public Sub New ( _
    displayName As String, _
    foreground As COLORINDEX, _
    background As COLORINDEX, _
    bold As Boolean, _
    strikethrough As Boolean _
)
'Usage
Dim displayName As String
Dim foreground As COLORINDEX
Dim background As COLORINDEX
Dim bold As Boolean
Dim strikethrough As Boolean

Dim instance As New ColorableItem(displayName, _
    foreground, background, bold, strikethrough)
public ColorableItem(
    string displayName,
    COLORINDEX foreground,
    COLORINDEX background,
    bool bold,
    bool strikethrough
)
public:
ColorableItem(
    String^ displayName, 
    COLORINDEX foreground, 
    COLORINDEX background, 
    bool bold, 
    bool strikethrough
)
new : 
        displayName:string * 
        foreground:COLORINDEX * 
        background:COLORINDEX * 
        bold:bool * 
        strikethrough:bool -> ColorableItem
public function ColorableItem(
    displayName : String, 
    foreground : COLORINDEX, 
    background : COLORINDEX, 
    bold : boolean, 
    strikethrough : boolean
)

Parameters

  • foreground
    Type: COLORINDEX
    Foreground Color
  • background
    Type: COLORINDEX
    BackGround Color

See Also

Reference

ColorableItem Class

Microsoft.VisualStudio.Data.Tools.SqlLanguageServices Namespace