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: 25.1.421.0 (25.1.421.0)
Syntaxpublic Duration(
TimeSpan timeSpan
)
Public Sub New (
timeSpan As TimeSpan
)
public:
Duration(
TimeSpan timeSpan
)
new :
timeSpan : TimeSpan -> Duration
Parameters
- timeSpan
- Type: System.TimeSpan
The time span.
See Also