System::TimeSpan::CompareTo मेथड

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

वर्तमान और निर्दिष्ट ऑब्जेक्ट्स की तुलना करता है।

int System::TimeSpan::CompareTo(const SharedPtr<Object> &obj) const
पैरामीटरप्रकारविवरण
objconst SharedPtr<Object>&वर्तमान ऑब्जेक्ट की तुलना करने के लिए TimeSpan ऑब्जेक्ट

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

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

TimeSpan::CompareTo(TimeSpan) const method

वर्तमान और निर्दिष्ट ऑब्जेक्ट्स की तुलना करता है।

int System::TimeSpan::CompareTo(TimeSpan value) const
पैरामीटरप्रकारविवरण
valueTimeSpanवर्तमान ऑब्जेक्ट की तुलना करने के लिए TimeSpan ऑब्जेक्ट

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

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