Duration::Add Method (Duration)
.NET Framework (current version)
Adds the value of the specified instance of Duration to the value of the current instance.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- duration
-
Type:
System.Windows::Duration
An instance of Duration that represents the value of the current instance plus duration.
Return Value
Type: System.Windows::DurationIf both instances of Duration have values, an instance of Duration that represents the combined values. Otherwise this method returns null.
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: