Udostępnij za pośrednictwem


BufferCell.Equality(BufferCell, BufferCell) Operator

Definition

Compares two instances for equality.

public:
 static bool operator ==(System::Management::Automation::Host::BufferCell first, System::Management::Automation::Host::BufferCell second);
public static bool operator == (System.Management.Automation.Host.BufferCell first, System.Management.Automation.Host.BufferCell second);
static member ( = ) : System.Management.Automation.Host.BufferCell * System.Management.Automation.Host.BufferCell -> bool
Public Shared Operator == (first As BufferCell, second As BufferCell) As Boolean

Parameters

first
BufferCell

The left side operand.

second
BufferCell

The right side operand.

Returns

true if the respective Character, ForegroundColor, BackgroundColor, and BufferCellType values are the same, false otherwise.

Applies to