Sdílet prostřednictvím


BufferCell Struct

Definition

Represents a character, a foregroundColor color, and background color.

public value class BufferCell
public struct BufferCell
type BufferCell = struct
Public Structure BufferCell
Inheritance
BufferCell

Constructors

BufferCell(Char, ConsoleColor, ConsoleColor, BufferCellType)

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

Properties

BackgroundColor

Gets and sets the background color.

BufferCellType

Gets and sets the type value.

Character

Gets and sets the character value.

ForegroundColor

Gets and sets the foreground color.

Methods

Equals(Object)

Overrides Equals(Object)

GetHashCode()

Overrides GetHashCode()

ToString()

Overloads ToString()

Operators

Equality(BufferCell, BufferCell)

Compares two instances for equality.

Inequality(BufferCell, BufferCell)

Compares two instances for inequality.

Applies to