Duration.Add(Duration) Method
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 the value of the specified instance of Duration to the value of the current instance.
public:
System::Windows::Duration Add(System::Windows::Duration duration);
public System.Windows.Duration Add (System.Windows.Duration duration);
member this.Add : System.Windows.Duration -> System.Windows.Duration
Public Function Add (duration As Duration) As Duration
Parameters
- duration
- Duration
An instance of Duration that represents the value of the current instance plus duration
.
Returns
If both instances of Duration have values, an instance of Duration that represents the combined values. Otherwise this method returns null
.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.