共用方式為


EventQueueName.LessThan(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

如果 queueKey1 大於 queueKey2 則為 true,否則為 false

例外狀況

queueKey1queueKey2 包含 null 參考 (在 Visual Basic 中為 Nothing)。

備註

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

適用於