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
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro