Share via


DisplayInfo.Equality(DisplayInfo, DisplayInfo) Operator

Definition

Equality operator for equals.

public:
 static bool operator ==(Microsoft::Maui::Devices::DisplayInfo left, Microsoft::Maui::Devices::DisplayInfo right);
public static bool operator == (Microsoft.Maui.Devices.DisplayInfo left, Microsoft.Maui.Devices.DisplayInfo right);
static member ( = ) : Microsoft.Maui.Devices.DisplayInfo * Microsoft.Maui.Devices.DisplayInfo -> bool
Public Shared Operator == (left As DisplayInfo, right As DisplayInfo) As Boolean

Parameters

left
DisplayInfo

Left to compare.

right
DisplayInfo

Right to compare.

Returns

true if objects are equal, otherwise false.

Applies to