Duration.LessThan(Duration, Duration) 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷一個 Duration 實例的值是否小於另一個實例的值。
public:
static bool operator <(System::Windows::Duration t1, System::Windows::Duration t2);
public static bool operator <(System.Windows.Duration t1, System.Windows.Duration t2);
static member ( < ) : System.Windows.Duration * System.Windows.Duration -> bool
Public Shared Operator < (t1 As Duration, t2 As Duration) As Boolean
參數
傳回
true若 和 t1 皆t2有值且 t1 小於t2;否則 。 false
備註
Forever 被視為大於任何有限值。 任何與 Automatic 的比較都會返回 false。
此運算子的等價方法為 Duration.Compare(Duration, Duration)