System::TimeSpan::Compare method

TimeSpan::Compare method

दो TimeSpan ऑब्जेक्ट्स की तुलना करता है।

static constexpr int System::TimeSpan::Compare(TimeSpan t1, TimeSpan t2)
पैरामीटरप्रकारविवरण
t1TimeSpanपहला तुलनात्मक मान
t2TimeSpanदूसरा तुलनात्मक मान

ReturnValue

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

संबंधित देखें