Duration.Addition(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.
Adds two Duration values together.
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 both Duration values have TimeSpan values, this method returns the sum of those two values. If either value is set to Automatic, the method returns Automatic. If either value is set to Forever, the method returns Forever. If either t1
or t2
has no value, 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
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za