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

要比较的第二个对象。

返回

Boolean

true 如果左侧早于右侧,则为否则,为 false.

适用于