TimeSpan Constructor (Int32, Int32, Int32, Int32, Int32)
Initializes a new instance of the TimeSpan structure to a specified number of days, hours, minutes, seconds, and milliseconds.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
Parameters
- days
- Type: System..::..Int32
Number of days.
- hours
- Type: System..::..Int32
Number of hours.
- minutes
- Type: System..::..Int32
Number of minutes.
- seconds
- Type: System..::..Int32
Number of seconds.
- milliseconds
- Type: System..::..Int32
Number of milliseconds.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentOutOfRangeException | The parameters specify a TimeSpan value less than MinValue or greater than MaxValue. |