TimeOnly.GreaterThan(TimeOnly, TimeOnly) 操作员

定义

确定指定的 TimeOnly 是否晚于另一个指定的 TimeOnly

public:
 static bool operator >(TimeOnly left, TimeOnly right);
public static bool operator > (TimeOnly left, TimeOnly right);
static member ( > ) : TimeOnly * TimeOnly -> bool
Public Shared Operator > (left As TimeOnly, right As TimeOnly) As Boolean

参数

left
TimeOnly

要比较的第一个对象。

right
TimeOnly

要比较的第二个对象。

返回

true 如果左晚于右侧,则为 ;否则为 false

适用于