TimeOnly.Subtraction(TimeOnly, TimeOnly) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gives the elapsed time between two points on a circular clock, which will always be a positive value.
public:
static TimeSpan operator -(TimeOnly t1, TimeOnly t2);
public static TimeSpan operator - (TimeOnly t1, TimeOnly t2);
static member ( - ) : TimeOnly * TimeOnly -> TimeSpan
Public Shared Operator - (t1 As TimeOnly, t2 As TimeOnly) As TimeSpan
Parameters
Returns
The elapsed time between t1
and t2
.
Applies to
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.