Adds the specified
Duration to this instance.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public Duration Add(
Duration other
)
Public Function Add (
other As Duration
) As Duration
public:
Duration Add(
Duration other
)
member Add :
other : Duration -> Duration
Parameters
- other
- Type: AGI.Foundation.TimeDuration
The Duration to add to this instance.
Return Value
Type:
DurationA
Duration that represents the value of this instance plus the value of
other.
Exceptions Remarks
The two
Durations must have the same time standard, or one of the time standards must be null.
Attempting to add two
Duration instances with different time standards will result in an
ArgumentException.
See Also