TimeSpan.GreaterThan Operator (TimeSpan, TimeSpan)

 
equivalentCodeEntityM:System.TimeSpan.Compare(System.TimeSpan,System.TimeSpan)

Indicates whether a specified TimeSpan is greater than another specified TimeSpan.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

static let inline (>)
        t1:TimeSpan *
        t2:TimeSpan : bool

Parameters

t1
Type: System.TimeSpan

The first time interval to compare.

t2
Type: System.TimeSpan

The second time interval to compare.

Return Value

Type: System.Boolean

true if the value of t1 is greater than the value of t2; otherwise, false.

The following example compares several TimeSpan objects to a reference TimeSpan using the GreaterThan operator.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: