LockCookie.Inequality(LockCookie, LockCookie) 运算符

定义

指示两个 LockCookie 结构是否不相等。

public:
 static bool operator !=(System::Threading::LockCookie a, System::Threading::LockCookie b);
public static bool operator != (System.Threading.LockCookie a, System.Threading.LockCookie b);
static member op_Inequality : System.Threading.LockCookie * System.Threading.LockCookie -> bool
Public Shared Operator != (a As LockCookie, b As LockCookie) As Boolean

参数

a
LockCookie

要与 b 进行比较的 LockCookie

b
LockCookie

要与 a 进行比较的 LockCookie

返回

Boolean

如果 true 不等于 a,则为 b;否则为 false

注解

此运算符 LockCookie.Equals(LockCookie)的等效方法是 。

适用于