共用方式為


OSPlatform.Inequality(OSPlatform, OSPlatform) 運算子

定義

判斷兩個 OSPlatform 執行個體是否不相等。

public:
 static bool operator !=(System::Runtime::InteropServices::OSPlatform left, System::Runtime::InteropServices::OSPlatform right);
public static bool operator != (System.Runtime.InteropServices.OSPlatform left, System.Runtime.InteropServices.OSPlatform right);
static member op_Inequality : System.Runtime.InteropServices.OSPlatform * System.Runtime.InteropServices.OSPlatform -> bool
Public Shared Operator != (left As OSPlatform, right As OSPlatform) As Boolean

參數

left
OSPlatform

要比較的第一個物件。

right
OSPlatform

要比較的第二個物件。

傳回

如果 leftright 不相等,則為 true;否則為 false

適用於