OPC Studio User's Guide and Reference
ErrorForegroundColor Property



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Console.Interaction Namespace > ConsoleInteractionParameters Class : ErrorForegroundColor Property
The foreground color used for errors.
Syntax
'Declaration
 
Public ReadOnly Property ErrorForegroundColor As ConsoleColor
'Usage
 
Dim instance As ConsoleInteractionParameters
Dim value As ConsoleColor
 
value = instance.ErrorForegroundColor
public ConsoleColor ErrorForegroundColor {get;}
public:
property ConsoleColor ErrorForegroundColor {
   ConsoleColor get();
}

Property Value

The default value of this property is Red (ConsoleColor.Red).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also