QuickOPC User's Guide and Reference
PromptForegroundColor Property



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Console.Interaction Namespace > ConsoleInteractionParameters Class : PromptForegroundColor Property
The foreground color used for prompts.
Syntax
'Declaration
 
<DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
Public ReadOnly Property PromptForegroundColor As ConsoleColor
'Usage
 
Dim instance As ConsoleInteractionParameters
Dim value As ConsoleColor
 
value = instance.PromptForegroundColor
[DefaultValue(Mono.Cecil.CustomAttributeArgument)]
public ConsoleColor PromptForegroundColor {get;}
[DefaultValue(Mono.Cecil.CustomAttributeArgument)]
public:
property ConsoleColor PromptForegroundColor {
   ConsoleColor get();
}
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