Duration.Subtraction(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.
Subtracts the value of one Duration from another.
public:
static Windows::UI::Xaml::Duration operator -(Windows::UI::Xaml::Duration t1, Windows::UI::Xaml::Duration t2);
public static Windows.UI.Xaml.Duration operator - (Windows.UI.Xaml.Duration t1, Windows.UI.Xaml.Duration t2);
static member ( - ) : Windows.UI.Xaml.Duration * Windows.UI.Xaml.Duration -> Windows.UI.Xaml.Duration
Public Shared Operator - (t1 As Duration, t2 As Duration) As Duration
Parameters
Returns
If each Duration has values, a Duration that represents the value of t1
minus t2
. If t1
has a value of Forever and t2
has a value of TimeSpan, this method returns Forever. Otherwise this method returns null
.
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
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor