DevicePlatform.Equality(DevicePlatform, DevicePlatform) 操作员

定义

相等运算符。

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

参数

left
DevicePlatform

要比较的左。

right
DevicePlatform

要比较的权利。

返回

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

适用于