ColorableItem(String, COLORINDEX, COLORINDEX, Boolean, Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.