Method ToTimeSpan
ToTimeSpan()
Converts TimeOnly to System.TimeSpan.
Declaration
public readonly TimeSpan ToTimeSpan()
Returns
Type | Description |
---|---|
System.TimeSpan | 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 |