UsageWriterWriteColor Method
Writes a string with virtual terminal sequences only if color is enabled.
Namespace: Ookii.CommandLineAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
protected void WriteColor(
TextFormat color
)
Protected Sub WriteColor (
color As TextFormat
)
Dim color As TextFormat
Me.WriteColor(color)
protected:
void WriteColor(
TextFormat color
)
Parameters
- color TextFormat
- The color formatting.
Nothing is written if the UseColor property is .