共用方式為


CancellationTokenRegistration.Equality 運算子

定義

判斷兩個 CancellationTokenRegistration 執行個體是否相等。

public:
 static bool operator ==(System::Threading::CancellationTokenRegistration left, System::Threading::CancellationTokenRegistration right);
public static bool operator == (System.Threading.CancellationTokenRegistration left, System.Threading.CancellationTokenRegistration right);
static member ( = ) : System.Threading.CancellationTokenRegistration * System.Threading.CancellationTokenRegistration -> bool
Public Shared Operator == (left As CancellationTokenRegistration, right As CancellationTokenRegistration) As Boolean

參數

left
CancellationTokenRegistration

第一個執行個體。

right
CancellationTokenRegistration

第二個執行個體。

傳回

Boolean

如果執行個體相等,則為 true,否則為 false

適用於

另請參閱