System::TimeSpan::Compare metodo

TimeSpan::Compare method

Confronta due oggetti TimeSpan.

static constexpr int System::TimeSpan::Compare(TimeSpan t1, TimeSpan t2)
ParametroTipoDescrizione
t1TimeSpanIl primo comparando
t2TimeSpanIl secondo comparando

ReturnValue

-1 if t1 is shorter than t2; 0 if t1 is equal to t2; 1 if t1 is longer than t2

Vedi anche