Επεξεργασία

Κοινή χρήση μέσω


TimeOnly.ToTimeSpan Method

Definition

Convert the current TimeOnly instance to a TimeSpan object.

public:
 TimeSpan ToTimeSpan();
public TimeSpan ToTimeSpan ();
member this.ToTimeSpan : unit -> TimeSpan
Public Function ToTimeSpan () As TimeSpan

Returns

A TimeSpan object spanning to the time specified in the current TimeOnly instance.

Applies to