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.

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