共用方式為


DevicePlatform.Inequality(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 op_Inequality : 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為 。

適用於