ColorableItem(String, COLORINDEX, COLORINDEX, Boolean, Boolean) Constructor

Definition

Initializes a new instance of the ColorableItem class.

public:
 ColorableItem(System::String ^ displayName, Microsoft::VisualStudio::TextManager::Interop::COLORINDEX foreground, Microsoft::VisualStudio::TextManager::Interop::COLORINDEX background, bool bold, bool strikethrough);
public ColorableItem (string displayName, Microsoft.VisualStudio.TextManager.Interop.COLORINDEX foreground, Microsoft.VisualStudio.TextManager.Interop.COLORINDEX background, bool bold, bool strikethrough);
new RadLangSvc.ColorableItem : string * Microsoft.VisualStudio.TextManager.Interop.COLORINDEX * Microsoft.VisualStudio.TextManager.Interop.COLORINDEX * bool * bool -> RadLangSvc.ColorableItem
Public Sub New (displayName As String, foreground As COLORINDEX, background As COLORINDEX, bold As Boolean, strikethrough As Boolean)

Parameters

displayName
String

A string value that specifies the display name.

foreground
COLORINDEX

A COLORINDEX object that specifies the foreground color.

background
COLORINDEX

A COLORINDEX object that specifies the background color

bold
Boolean

A Boolean value that specifies whether to use boldface text.

strikethrough
Boolean

A Boolean value that specifies whether to use strike-through text.

Applies to