共用方式為


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

適用於