DeviceIdiom.Equality(DeviceIdiom, DeviceIdiom) 操作员

定义

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

参数

left
DeviceIdiom

左比较。

right
DeviceIdiom

比较的权利。

返回

true 如果 对象相等,则为 ;否则为 false

适用于