Duration.GreaterThanOrEqual(Duration, Duration) Duration.GreaterThanOrEqual(Duration, Duration) Duration.GreaterThanOrEqual(Duration, Duration) Duration.GreaterThanOrEqual(Duration, Duration) Operator

定義

Duration の一方のインスタンスが、もう一方のインスタンス以上かどうかを確認します。Determines whether an instance of Duration is greater than or equal to another instance.

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 Duration Duration

比較対象の Duration の第 1 インスタンス。The first instance of Duration to compare.

t2
Duration Duration Duration Duration

比較対象の Duration の第 2 インスタンス。The second instance of Duration to compare.

戻り値

t1 および t2 の両方が値を持ち、t1t2 以上の場合は true。それ以外の場合は falsetrue if both t1 and t2 have values and t1 is greater than or equal to t2; otherwise, false.

注釈

Foreverは、有限値よりも大きいと見なされます。Forever is considered greater than any finite value. 値との比較Automaticではfalse、が返されます。Any comparison with an Automatic value returns false.

この演算子の同等の方法は次のようになります。Duration.Compare(Duration, Duration)The equivalent method for this operator is Duration.Compare(Duration, Duration)

適用対象