System::DateTimeOffset::CompareTo metode

DateTimeOffset::CompareTo(const DateTimeOffset&) const method

Membandingkan dua objek DateTimeOffset.

int System::DateTimeOffset::CompareTo(const DateTimeOffset &other) const
ParameterTipeDeskripsi
otherconst DateTimeOffset&Object untuk dibandingkan.

ReturnValue

-1 - if current object is earlier than other, 1 - if current object is later than other, 0 - if current object is equal to other.

Lihat Juga

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

Membandingkan dua objek DateTimeOffset.

int System::DateTimeOffset::CompareTo(const SharedPtr<Object> &obj) const
ParameterTipeDeskripsi
objconst SharedPtr<Object>&Object untuk dibandingkan.

ReturnValue

-1 - if current object is earlier than obj, 1 - if current object is later than obj, 0 - if current object is equal to obj.

Lihat Juga