EventQueueName.GreaterThan(EventQueueName, EventQueueName) 運算子

定義

傳回值,指出兩個指定 EventQueueName 物件的第一個物件是否大於第二個物件。Returns a value indicating whether the first of two specified EventQueueName objects is greater than the second.

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

要比較的第一個 EventQueueNameThe first EventQueueName to compare.

queueKey2
EventQueueName

要比較的第二個 EventQueueNameThe second EventQueueName to compare.

傳回

Boolean

如果 queueKey1 大於 queueKey2 則為 true,否則為 falsetrue if queueKey1 is greater than queueKey2; otherwise, false.

例外狀況

queueKey1queueKey2 包含 null 參考 (在 Visual Basic 中為 Nothing)。queueKey1 or queueKey2 contains a null reference (Nothing in Visual Basic).

備註

這個運算子的對等方法是 EventQueueName.CompareToThe equivalent method for this operator is EventQueueName.CompareTo

適用於