Share via


DeviceIdiom.Equality(DeviceIdiom, DeviceIdiom) Operator

Definition

Equality operator for equals.

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

Parameters

left
DeviceIdiom

Left to compare.

right
DeviceIdiom

Right to compare.

Returns

true if objects are equal, otherwise false.

Applies to