OSPlatform.Inequality(OSPlatform, OSPlatform) 运算符

定义

确定两个 OSPlatform 实例是否不相等。Determines whether two OSPlatform instances are unequal.

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

要比较的第一个对象。The first object to compare.

right
OSPlatform

要比较的第二个对象。The second object to compare.

返回

如果 trueleft 不相等,则为 right;否则为 falsetrue if left and right are unequal; otherwise, false.

适用于