Duration.GreaterThanOrEqual(Duration, Duration) 运算符

定义

确定其中一个 Duration 是否大于或等于另一个。Determines whether a Duration is greater than or equal to 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

参数

t1
Duration

要比较的 Duration 的第一个实例。The first instance of Duration to compare.

t2
Duration

要比较的 Duration 的第二个实例。The second instance of Duration to compare.

返回

Boolean

如果 t1t2 都有值,并且 t1 大于或等于 t2,则为 true;否则为 falsetrue if both t1 and t2 have values and t1 is greater than or equal to t2; otherwise, false.

注解

此结构表示 Windows 运行时 (WinRT) 结构的 .NET 投影 DurationThis struct represents the .NET projection of the Windows Runtime (WinRT) Duration struct. 有关详细信息,请参阅 UWP API 参考中的 持续时间For more information, see Duration in the UWP API reference.

适用于