TimeOnly.LessThanOrEqual(TimeOnly, TimeOnly) 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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
如果 left 與 或早于右相同,則為 ;否則為 false
。