BufferCell(Char, ConsoleColor, ConsoleColor, BufferCellType) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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