Compartir vía


TimeOnly.Subtraction(TimeOnly, TimeOnly) Operador

Definición

Proporciona el tiempo transcurrido entre dos puntos en un reloj circular, que siempre será un valor positivo.

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

Parámetros

t1
TimeOnly

Primera TimeOnly instancia.

t2
TimeOnly

Segunda TimeOnly instancia.

Devoluciones

Tiempo transcurrido entre t1 y t2.

Se aplica a