Duration.GreaterThanOrEqual Operator (Duration, Duration)

 
equivalentCodeEntityM:System.Windows.Duration.Compare(System.Windows.Duration,System.Windows.Duration)

Determines whether an instance of Duration is greater than or equal to another instance.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

static let inline (>=)
        t1:Duration *
        t2:Duration : bool

Parameters

t1
Type: System.Windows.Duration

The first instance of Duration to compare.

t2
Type: System.Windows.Duration

The second instance of Duration to compare.

Return Value

Type: System.Boolean

true if both t1 and t2 have values and t1 is greater than or equal to t2; otherwise, false.

Forever is considered greater than any finite value. Any comparison with an Automatic value returns false.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: