Partager via


Size.Equality(Size, Size) Operator

Definition

Compares two instances for equality.

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

Parameters

first
Size

The left side operand.

second
Size

The right side operand.

Returns

true if the respective Width and Height fields are the same, false otherwise.

Applies to