共用方式為


PSHostRawUserInterface.ForegroundColor Property

Definition

Gets or sets the color used to render characters on the screen buffer. Each character cell in the screen buffer can have a separate foreground color.

public:
 abstract property ConsoleColor ForegroundColor { ConsoleColor get(); void set(ConsoleColor value); };
public abstract ConsoleColor ForegroundColor { get; set; }
member this.ForegroundColor : ConsoleColor with get, set
Public MustOverride Property ForegroundColor As ConsoleColor

Property Value

Applies to

See also