System::TimeSpan::CompareTo metodu

TimeSpan::CompareTo(const SharedPtr<Object>&) const method

Geçerli ve belirtilen nesneleri karşılaştırır.

int System::TimeSpan::CompareTo(const SharedPtr<Object> &obj) const
ParametreTürAçıklama
objconst SharedPtr<Object>&Mevcut nesneyle karşılaştırılacak TimeSpan nesnesi

ReturnValue

-1 if the current object represents the interval that is shorter than value; 0 if the current object represents the interval that is equal to value; 1 if the current object represents the interval that is longer than value

Ayrıca Bakınız

TimeSpan::CompareTo(TimeSpan) const method

Geçerli ve belirtilen nesneleri karşılaştırır.

int System::TimeSpan::CompareTo(TimeSpan value) const
ParametreTürAçıklama
valueTimeSpanMevcut nesneyle karşılaştırılacak TimeSpan nesnesi

ReturnValue

-1 if the current object represents the interval that is shorter than value; 0 if the current object represents the interval that is equal to value; 1 if the current object represents the interval that is longer than value

Ayrıca Bakınız