Constructor TimeOnly
TimeOnly(Int32, Int32, Int32)
Initializes a new instance of the Time
Declaration
public TimeOnly(int hour, int minute, int second)
Parameters
Type | Name | Description |
---|---|---|
System. |
hour | The hours (0 through 23). |
System. |
minute | The minutes (0 through 59). |
System. |
second | The seconds (0 through 59). |
Exceptions
Type | Condition |
---|---|
System. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Framework | 200.4 - 200.6 |
UWP | 200.4 - 200.6 |