Method ToTimeSpan
ToTimeSpan()
Converts Time
Declaration
public readonly TimeSpan ToTimeSpan()
Returns
Type | Description |
---|---|
System. |
A TimeSpan representing the same time as the TimeOnly instance. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Framework | 200.4 - 200.6 |
UWP | 200.4 - 200.6 |