共用方式為


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

適用於