Duration.LessThan(Duration, Duration) Operator

定義

Durationの 1 つのインスタンスの値が別のインスタンスの値より小さいかどうかを判断します。

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

パラメーター

t1
Duration

比較する Duration の最初のインスタンス。

t2
Duration

比較する Duration の 2 番目のインスタンス。

返品

true t1t2の両方に値があり、t1t2未満の場合はfalse

注釈

Forever は、どの有限値よりも大きいと見なされます。 Automatic値と比較すると、falseが返されます。

この演算子の同等のメソッドは次のようになります。 Duration.Compare(Duration, Duration)

適用対象