EventRegistrationToken.Equality 运算符

定义

指示两个 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 ( = ) : 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

适用于