System::Version::CompareTo method

Version::CompareTo method

वर्तमान ऑब्जेक्ट और निर्दिष्ट ऑब्जेक्ट द्वारा प्रतिनिधित्व किए गए संस्करणों की तुलना करता है।

int System::Version::CompareTo(const Version &ver) const
पैरामीटरप्रकारविवरण
verconst Version&वर्तमान ऑब्जेक्ट के साथ तुलना करने के लिए एक Version ऑब्जेक्ट।

ReturnValue

-1 if the version number represented by the current object is less than that represented by ver; 0 if the version numbers are equal; 1 if the version number represented by the current object is greater than the value represented by ver

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