'Usage Dim minutes As Integer Dim instance As New TdIntervalMinute(minutes)
Parameters
- minutes
- Number of minutes.
'Usage Dim minutes As Integer Dim instance As New TdIntervalMinute(minutes)
Exception | Description |
---|---|
OverflowException | The minutes parameter specifies a TdIntervalMinute value less than TdIntervalMinute.MinValue or greater than TdIntervalMinute.MaxValue. |
The number of minutes is constructed into a TdIntervalMinute and evaluated against TdIntervalMinute.MinValue and TdIntervalMinute.MaxValue. The TdIntervalMinute.Precision is then calculated from the number of digits contained within the interval minute component.
For example, 99 minutes is first constructed into a TdIntervalMinute. Precision is calculated to be a value of 2 representing two significant digits in the minutes.
Negative constructor parameters may be supplied to represent negative durations of time.
Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019