Duration Constructor (TimeSpan) |
Initializes a new
Duration from a
TimeSpan.
The time standard is not specified, so this
Duration will match the
time standard of anything it is added to or subtracted from.
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(
TimeSpan timeSpan
)
Public Sub New (
timeSpan As TimeSpan
)
public:
Duration(
TimeSpan timeSpan
)
new :
timeSpan : TimeSpan -> Duration
Parameters
- timeSpan
- Type: SystemTimeSpan
The time span.
See Also