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

返回

如果 true 大于 queueKey1,则为 queueKey2;否则为 false

例外

queueKey1queueKey2 包含空引用(在 Visual Basic 中为 Nothing)。

注解

此运算符的等效方法是 EventQueueName.CompareTo

适用于