DurationHelper.Add(Duration, 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 TimeSpan component of two Duration values. C# and Microsoft Visual Basic code should use the Addition (+) operator or the Duration.Add method instead.
static Duration Add(Duration const& target, Duration const& duration);
public static Duration Add(Duration target, Duration duration);
function add(target, duration)
Public Shared Function Add (target As Duration, duration As Duration) As Duration
Parameters
- target
- Duration
The value to add to.
- duration
- Duration
The value to add.
Returns
The resulting Duration after TimeSpan component addition.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin