共用方式為


BufferCell.Inequality(BufferCell, BufferCell) Operator

Definition

Compares two instances for inequality.

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 op_Inequality : 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 any of the respective Character, ForegroundColor, BackgroundColor, and BufferCellType values are not the same, false otherwise.

Applies to