共用方式為


Coordinates.Equality(Coordinates, Coordinates) Operator

Definition

Compares two instances for equality.

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

Parameters

first
Coordinates

The left side operand.

second
Coordinates

The right side operand.

Returns

true if the respective X and Y values are the same, false otherwise.

Applies to