Udostępnij za pośrednictwem


BufferCell(Char, ConsoleColor, ConsoleColor, BufferCellType) Constructor

Definition

Initializes a new instance of the BufferCell class and defines the Character, ForegroundColor, BackgroundColor and Type values.

public:
 BufferCell(char character, ConsoleColor foreground, ConsoleColor background, System::Management::Automation::Host::BufferCellType bufferCellType);
public BufferCell (char character, ConsoleColor foreground, ConsoleColor background, System.Management.Automation.Host.BufferCellType bufferCellType);
new System.Management.Automation.Host.BufferCell : char * ConsoleColor * ConsoleColor * System.Management.Automation.Host.BufferCellType -> System.Management.Automation.Host.BufferCell
Public Sub New (character As Char, foreground As ConsoleColor, background As ConsoleColor, bufferCellType As BufferCellType)

Parameters

character
Char

The character in this BufferCell object

foreground
ConsoleColor

The foreground color of this BufferCell object

background
ConsoleColor

The foreground color of this BufferCell object

bufferCellType
BufferCellType

The type of this BufferCell object

Applies to