Edit

Share via


Duration.GreaterThan(Duration, Duration) Operator

Definition

Determines if one Duration is greater than another.

public:
 static bool operator >(Windows::UI::Xaml::Duration t1, Windows::UI::Xaml::Duration t2);
public static bool operator > (Windows.UI.Xaml.Duration t1, Windows.UI.Xaml.Duration t2);
static member ( > ) : Windows.UI.Xaml.Duration * Windows.UI.Xaml.Duration -> bool
Public Shared Operator > (t1 As Duration, t2 As Duration) As Boolean

Parameters

t1
Duration

The Duration value to compare.

t2
Duration

The second Duration value to compare.

Returns

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

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) Duration struct. For more information, see Duration in the UWP API reference.

Applies to