Duration.LessThanOrEqual(Duration, Duration) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if a Duration is less 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
Parameters
Returns
true
if both t1
and t2
have values and t1
is less than or equal to 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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.