EventRegistrationToken.Inequality 运算符

定义

指示两个 EventRegistrationToken 实例是否不相等。

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

参数

left
EventRegistrationToken

要比较的第一个实例。

right
EventRegistrationToken

要比较的第二个实例。

返回

如果这两个实例不相等,则为 true;否则为 false

适用于