DurationAddSeconds Method |
Adds a specified number of seconds to this
Duration and returns the new
Duration.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public Duration AddSeconds(
double seconds
)
Public Function AddSeconds (
seconds As Double
) As Duration
public:
Duration AddSeconds(
double seconds
)
member AddSeconds :
seconds : float -> Duration
Parameters
- seconds
- Type: SystemDouble
The number of seconds to add.
Return Value
Type:
DurationA new
Duration which is the sum of the original
Duration and the specified number of seconds.
Exceptions See Also