طريقة System::DateTimeOffset::CompareTo

DateTimeOffset::CompareTo(const DateTimeOffset&) const method

تقارن كائنين من نوع DateTimeOffset.

int System::DateTimeOffset::CompareTo(const DateTimeOffset &other) const
معاملنوعالوصف
otherconst DateTimeOffset&Object للمقارنة.

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.

انظر أيضًا

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

تقارن كائنين من نوع DateTimeOffset.

int System::DateTimeOffset::CompareTo(const SharedPtr<Object> &obj) const
معاملنوعالوصف
objconst SharedPtr<Object>&Object للمقارنة.

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.

انظر أيضًا