共用方式為


EventQueueName.Equality(EventQueueName, EventQueueName) 運算子

定義

傳回值,指出兩個指定的 EventQueueName 物件是否相等。

public:
 static bool operator ==(System::Workflow::Activities::EventQueueName ^ queueKey1, System::Workflow::Activities::EventQueueName ^ queueKey2);
public static bool operator == (System.Workflow.Activities.EventQueueName queueKey1, System.Workflow.Activities.EventQueueName queueKey2);
static member ( = ) : System.Workflow.Activities.EventQueueName * System.Workflow.Activities.EventQueueName -> bool
Public Shared Operator == (queueKey1 As EventQueueName, queueKey2 As EventQueueName) As Boolean

參數

queueKey1
EventQueueName

要比較的第一個 EventQueueName

queueKey2
EventQueueName

要比較的第二個 EventQueueName

傳回

Boolean

如果 queueKey1queueKey2 相等,則為 true;否則為 false

備註

如果 queueKey1queueKey2 包含 null 參考 (在 Visual Basic 中為 Nothing),則 Equality 傳回 true

這個運算子的對等方法是 EventQueueName.Equals

適用於