Export (0) Print
Expand All

Duration.GreaterThan Operator

Determines if one instance of Duration is greater than another.

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

Public Shared Operator > ( _
	t1 As Duration, _
	t2 As Duration _
) As Boolean


Type: System.Windows.Duration

The first instance of Duration to compare.

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 t2; otherwise, false.

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft