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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.